> On Mon, 24 Jul 2000, Gerald Pfeifer wrote:
> > dlls/wsock32/socket.c, we'll have to investigate...
> 
> Actually, there are two problems with that: The real one (concerning
> system structures) and the use of ulong which is not defined 
> on FreeBSD:
> 
>   In file included from ./socket.c:14:
>   wscontrol.h:26: parse error before `ulong'
>   wscontrol.h:41: parse error before `ulong'
>   wscontrol.h:41: warning: no semicolon at end of struct or union
> 
> Unfortunately, I don't think there is a simple fix: If you 
> unconditionally
> typdef unsigned long ulong, you will break platforms that do 
> define ulong
> somewhere.

Yes, Solaris does in sys/types.h, which is almost always included.
 
> How about s/ulong/unsigned long/ throughout that source file?

Fine with me, Solaris always typedef it as unsigned long.

Reply via email to