mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Fix cygwin _POSIX_C_SOURCE check
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#else
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined (__CYGWIN__) && (!defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE < 200112L))
|
||||
#if defined (__CYGWIN__) && (!defined(_POSIX_C_SOURCE) || (_POSIX_C_SOURCE < 200112L))
|
||||
#error "Error: Compiling on Cygwin without POSIX is not supported. Please define _XOPEN_SOURCE >= 600 or _POSIX_C_SOURCE >= 200112 when compiling"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user