[M3commit] CVS Update: cm3
Jay K
jay.krell at cornell.edu
Sun Jun 6 18:03:20 CEST 2010
>> but I think socket.h was still missing stuff, I forgot.
Some combinations resulted in missing u_char, u_short, u_int, u_long, and MachineIDPosixC.c not compiling.
- Jay
----------------------------------------
> Date: Sun, 6 Jun 2010 17:49:28 +0000
> To: m3commit at elegosoft.com
> From: jkrell at elego.de
> Subject: [M3commit] CVS Update: cm3
>
> CVSROOT: /usr/cvs
> Changes by: jkrell at birch. 10/06/06 17:49:28
>
> Modified files:
> cm3/m3-libs/m3core/src/: m3core.h
>
> Log message:
> #ifdef __osf__
> #ifndef _OSF_SOURCE
> #define _OSF_SOURCE
> #endif
> #ifndef _XOPEN_SOURCE
> #define _XOPEN_SOURCE 500
> #endif
> #endif
>
> remove manual OSF/1 socklen_t
>
> I tried a few combinations.
> Without any #defines, socket.h omits stuff like recvfrom.
> If you just #define _XOPEN_SOURCE, then struct tm is missing the BSD members,
> which you can then handle with #ifdef, but I think socket.h
> was still missing stuff, I forgot. This works and is reasonable.
>
More information about the M3commit
mailing list