Browse Source

ENH: Added definition of _BSD_SOURCE to enable proper use of POSIX functions on comeau in linux.

Brad King 23 years ago
parent
commit
14f0211858
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Source/cmStandardIncludes.h

+ 4 - 0
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 )