]> granicus.if.org Git - python/commitdiff
Modules/getpath.c now compiles properly under OS X when using the
authorBrett Cannon <bcannon@gmail.com>
Sat, 26 Jun 2004 04:03:06 +0000 (04:03 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sat, 26 Jun 2004 04:03:06 +0000 (04:03 +0000)
--disable-framework build; header file was protected in an #if using the wrong
macro to check.

Closes bug #978645.

Misc/NEWS
Modules/getpath.c

index caaed293dd54f9e676a1a84c41d2955c531b56bf..f24adc55a98db7f79c84a55a5e69faf0188a63e6 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -531,6 +531,9 @@ Tools/Demos
 Build
 -----
 
+- Bug #978645: Modules/getpath.c now builds properly in --disable-framework
+  build under OS X.
+
 - Profiling using gprof is now available if Python is configured with
   --enable-profiling.
 
index cbdcbd879fefc5be09ad898b5abf1160599a7e03..10ad509157a3047ef6f61b1ddd1ee2a16142e75d 100644 (file)
@@ -6,7 +6,7 @@
 #include <sys/types.h>
 #include <string.h>
 
-#ifdef WITH_NEXT_FRAMEWORK
+#ifdef __APPLE__
 #include <mach-o/dyld.h>
 #endif