From: <ag...@us...> - 2011-12-14 20:47:18
|
Revision: 2643 http://zoolib.svn.sourceforge.net/zoolib/?rev=2643&view=rev Author: agreen Date: 2011-12-14 20:47:12 +0000 (Wed, 14 Dec 2011) Log Message: ----------- Haven't needed _REENTRANT since LinuxThreads got superseded. Modified Paths: -------------- trunk/zoolib/source/cxx/zoolib/zconfigl.h Modified: trunk/zoolib/source/cxx/zoolib/zconfigl.h =================================================================== --- trunk/zoolib/source/cxx/zoolib/zconfigl.h 2011-12-14 20:46:26 UTC (rev 2642) +++ trunk/zoolib/source/cxx/zoolib/zconfigl.h 2011-12-14 20:47:12 UTC (rev 2643) @@ -261,13 +261,6 @@ #endif // ================================================================================================= -// Define _REENTRANT for all platforms, although it's only significant for POSIX. - -#ifndef _REENTRANT -# define _REENTRANT -#endif - -// ================================================================================================= // Previously we've used 'nil' for the null pointer. With our increasing use of // Objective C we're switching to use the soon-to-be standardized nullptr. @@ -293,10 +286,8 @@ void operator&() const; } nullptr = {}; #endif -#else - #ifndef nullptr - #define nullptr 0 - #endif +#elif not defined(nullptr) + #define nullptr 0 #endif // ================================================================================================= This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |