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

This commit is contained in:
Brad King 2002-09-10 15:40:11 -04:00
parent ce65c54d7a
commit 14f0211858
1 changed files with 4 additions and 0 deletions

View File

@ -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 )