diff options
author | owent <owt5008137@live.com> | 2015-08-22 12:58:40 +0800 |
---|---|---|
committer | Jan-Erik Rediger <janerik@fnordig.de> | 2016-04-20 16:10:02 +0200 |
commit | 6c53d6803aa460ac03f568c81a8335aa3ccfef6d (patch) | |
tree | 65c4c7006952cadebae9f0d66cd5b1a056d3ee89 /fmacros.h | |
parent | 2139f78c71a9ebfcfad27d8e7d5b6689d95aee78 (diff) |
Add CI for Windows
- fix macro problem in mingw-gcc
- fix typedef in cygwin
Diffstat (limited to 'fmacros.h')
-rw-r--r-- | fmacros.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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__) |