diff options
author | Brad King <brad.king@kitware.com> | 2002-09-10 19:40:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-09-10 19:40:11 (GMT) |
commit | 14f021185829d70840f3e000fba08496f9f8f26d (patch) | |
tree | 310ae2880c4376fdf4d4ec2e1a6c32124db5da37 | |
parent | ce65c54d7a61947ee7b566dc8e7cca9fbc30da2c (diff) | |
download | CMake-14f021185829d70840f3e000fba08496f9f8f26d.zip CMake-14f021185829d70840f3e000fba08496f9f8f26d.tar.gz CMake-14f021185829d70840f3e000fba08496f9f8f26d.tar.bz2 |
ENH: Added definition of _BSD_SOURCE to enable proper use of POSIX functions on comeau in linux.
-rw-r--r-- | Source/cmStandardIncludes.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 ) |