Subject: Re: 1.3.13: problem using ntohs() in asm/bytorder.h in gcc 3.2.
From: Shankar Unni <[email-masked]>
To: [email-masked]
Date: Mon, 04 Nov 2002 15:47:48 -0800

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/