summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/ports/lang/python25/files/patch-pyconfig.h.in.diff
blob: bd0ecd8032fed1d5350bca5098c00352715356de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- pyconfig.h.in.orig	2009-08-16 10:22:50.000000000 -0700
+++ pyconfig.h.in	2009-08-16 10:23:24.000000000 -0700
@@ -4,6 +4,10 @@
 #ifndef Py_PYCONFIG_H
 #define Py_PYCONFIG_H
 
+// Required on Darwin 10+
+#ifndef _DARWIN_C_SOURCE
+#define _DARWIN_C_SOURCE
+#endif
 
 /* Define for AIX if your compiler is a genuine IBM xlC/xlC_r and you want
    support for AIX C++ shared extension modules. */