This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: 1.3.13: problem using ntohs() in asm/bytorder.h in gcc 3.2.
On 11/4/2002 1:12 PM, Jens Yllman wrote:
In C++ it is recommended to use other constructs then
#define, like const or enum or inline. But I see the use of #define.
And that is unfortunately necessary, since the worse evil is maintaining
separate copies of <netinet/in.h> for C and C++ compilers - that could
quickly become a maintenance nightmare.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/