summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 8b14932..8a9a1ad 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -754,6 +754,9 @@
/* This must be set to 64 on some systems to enable large file support. */
#undef _FILE_OFFSET_BITS
+/* Define on Linux to activate all library features */
+#undef _GNU_SOURCE
+
/* This must be defined on some systems to enable large file support. */
#undef _LARGEFILE_SOURCE
@@ -773,6 +776,11 @@
/* Define to force use of thread-safe errno, h_errno, and other functions */
#undef _REENTRANT
+/* Define on UNIX to activate XPG/5 features. */
+#ifndef _XOPEN_SOURCE
+# define _XOPEN_SOURCE 500
+#endif
+
/* Define to 1 if type `char' is unsigned and you are not using gcc. */
#ifndef __CHAR_UNSIGNED__
# undef __CHAR_UNSIGNED__