summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-06-26 04:03:06 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-06-26 04:03:06 (GMT)
commitf6af76da61fcbd9e6f0d43dcbd236864e12ec334 (patch)
tree194bcead3f900ca946611dee2667cc965e8f1ea7 /Modules
parentd858a7763ae31148451b79b7f258f34ddc5a11b0 (diff)
downloadcpython-f6af76da61fcbd9e6f0d43dcbd236864e12ec334.zip
cpython-f6af76da61fcbd9e6f0d43dcbd236864e12ec334.tar.gz
cpython-f6af76da61fcbd9e6f0d43dcbd236864e12ec334.tar.bz2
Modules/getpath.c now compiles properly under OS X when using the
--disable-framework build; header file was protected in an #if using the wrong macro to check. Closes bug #978645.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/getpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c
index cbdcbd8..10ad509 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -6,7 +6,7 @@
#include <sys/types.h>
#include <string.h>
-#ifdef WITH_NEXT_FRAMEWORK
+#ifdef __APPLE__
#include <mach-o/dyld.h>
#endif