summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-06-26 04:03:06 +0000
committerBrett Cannon <bcannon@gmail.com>2004-06-26 04:03:06 +0000
commit3788bddfe32ac0d10e65a34c13cdfbf3be950fd7 (patch)
treefd97fffbe7987527a28b5ef421afe95978a90367 /Modules
parent9542fe1cb70b43f16bf8c6566a2c59eab43cf491 (diff)
downloadcpython-3788bddfe32ac0d10e65a34c13cdfbf3be950fd7.tar.gz
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 cbdcbd879f..10ad509157 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