From 6c53d6803aa460ac03f568c81a8335aa3ccfef6d Mon Sep 17 00:00:00 2001 From: owent Date: Sat, 22 Aug 2015 12:58:40 +0800 Subject: Add CI for Windows - fix macro problem in mingw-gcc - fix typedef in cygwin --- fmacros.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fmacros.h') diff --git a/fmacros.h b/fmacros.h index 19d7b21..7a85121 100644 --- a/fmacros.h +++ b/fmacros.h @@ -6,6 +6,10 @@ #define _DEFAULT_SOURCE #endif +#if defined(__CYGWIN__) +#include +#endif + #if defined(__sun__) #define _POSIX_C_SOURCE 200112L #elif defined(__linux__) || defined(__OpenBSD__) || defined(__NetBSD__) -- cgit v1.2.3