summaryrefslogtreecommitdiff
path: root/fmacros.h
diff options
context:
space:
mode:
authorowent <owt5008137@live.com>2015-08-22 12:58:40 +0800
committerJan-Erik Rediger <janerik@fnordig.de>2016-04-20 16:10:02 +0200
commit6c53d6803aa460ac03f568c81a8335aa3ccfef6d (patch)
tree65c4c7006952cadebae9f0d66cd5b1a056d3ee89 /fmacros.h
parent2139f78c71a9ebfcfad27d8e7d5b6689d95aee78 (diff)
Add CI for Windows
- fix macro problem in mingw-gcc - fix typedef in cygwin
Diffstat (limited to 'fmacros.h')
-rw-r--r--fmacros.h4
1 files changed, 4 insertions, 0 deletions
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 <sys/cdefs.h>
+#endif
+
#if defined(__sun__)
#define _POSIX_C_SOURCE 200112L
#elif defined(__linux__) || defined(__OpenBSD__) || defined(__NetBSD__)