ENH: Added definition of _BSD_SOURCE to enable proper use of POSIX functions on comeau in linux.
This commit is contained in:
parent
ce65c54d7a
commit
14f0211858
|
@ -27,6 +27,10 @@
|
||||||
#include "cmConfigure.h"
|
#include "cmConfigure.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(_WIN32) && defined(__COMO__)
|
||||||
|
# define _BSD_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning ( disable : 4786 )
|
#pragma warning ( disable : 4786 )
|
||||||
#pragma warning ( disable : 4503 )
|
#pragma warning ( disable : 4503 )
|
||||||
|
|
Loading…
Reference in New Issue