summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreldarko <ekononov@gmail.com>2017-05-17 11:03:24 +0300
committereldarko <ekononov@gmail.com>2017-05-17 11:03:24 +0300
commit6114da642991db0da3122e5d129e5050a449605a (patch)
treee483d7089512615bbc9df7cc149dba7ed131cdc6
parent97cd8157f74674c722dd30360caac1f498fa72ef (diff)
Fix compilation on FreeBSD 10.3 with default compiler
-rw-r--r--fmacros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fmacros.h b/fmacros.h
index 14fed60..9a56643 100644
--- a/fmacros.h
+++ b/fmacros.h
@@ -13,7 +13,7 @@
#if defined(__sun__)
#define _POSIX_C_SOURCE 200112L
#else
-#if !(defined(__APPLE__) && defined(__MACH__))
+#if !(defined(__APPLE__) && defined(__MACH__)) && !(defined(__FreeBSD__))
#define _XOPEN_SOURCE 600
#endif
#endif