mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 05:50:42 +00:00
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"
|
||||
#endif
|
||||
|
||||
#if !defined(_WIN32) && defined(__COMO__)
|
||||
# define _BSD_SOURCE
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning ( disable : 4786 )
|
||||
#pragma warning ( disable : 4503 )
|
||||
|
Loading…
Reference in New Issue
Block a user