From 14f021185829d70840f3e000fba08496f9f8f26d Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 10 Sep 2002 15:40:11 -0400 Subject: ENH: Added definition of _BSD_SOURCE to enable proper use of POSIX functions on comeau in linux. --- Source/cmStandardIncludes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 224e196..b1dd8ac 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -27,6 +27,10 @@ #include "cmConfigure.h" #endif +#if !defined(_WIN32) && defined(__COMO__) +# define _BSD_SOURCE +#endif + #ifdef _MSC_VER #pragma warning ( disable : 4786 ) #pragma warning ( disable : 4503 ) -- cgit v0.12