Fix building on cygwin after 23dbcb59

This commit is contained in:
Enrico Forestieri 2016-07-07 23:37:14 +02:00
parent f0aa129938
commit f70dd65bb2

View File

@ -317,6 +317,7 @@ char * strerror(int n);
#define BOOST_NO_WSTRING 1 #define BOOST_NO_WSTRING 1
#ifdef __CYGWIN__ #ifdef __CYGWIN__
# define _DEFAULT_SOURCE
# define NOMINMAX # define NOMINMAX
# define BOOST_POSIX 1 # define BOOST_POSIX 1
# define BOOST_POSIX_API 1 # define BOOST_POSIX_API 1