diff options
author | Brad King <brad.king@kitware.com> | 2002-09-10 15:40:11 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-09-10 15:40:11 -0400 |
commit | 14f021185829d70840f3e000fba08496f9f8f26d (patch) | |
tree | 310ae2880c4376fdf4d4ec2e1a6c32124db5da37 /Source/cmStandardIncludes.h | |
parent | ce65c54d7a61947ee7b566dc8e7cca9fbc30da2c (diff) | |
download | cmake-14f021185829d70840f3e000fba08496f9f8f26d.tar.gz |
ENH: Added definition of _BSD_SOURCE to enable proper use of POSIX functions on comeau in linux.
Diffstat (limited to 'Source/cmStandardIncludes.h')
-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 224e196719..b1dd8acd7e 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 ) |