Bug 000131

When Created: 01/21/1997 18:12:01
Against DJGPP version: 2.01
By whom:
Abstract: netinet/in.h multiple protection #ifdefs are incorrect
The preprocessor directives designed to prevent multiple inclusion of 
netinet/in.h are broken, and fail in their purpose in life.

The outcome is a warning (under -g) or fatal error (under -O) involving the
functions htonl and htons.

Solution added: 01/21/1997 18:13:30
By whom:
The name used in the ifndef and #define should be the same:

< #define __dj_include_in_h_
> #define __dj_include_netinet_in_h_
< #endif /* !__dj_include_in_h_ */
> #endif /* !__dj_include_netinet_in_h_ */

Fixed in version on 04/12/1999 12:00:59
By whom:

  webmaster     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010