[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Sun Jun 6 17:49:28 CEST 2010


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