]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Allow Modules/getpath.c to compile on OS X in a --disable-framework build.
authorBrett Cannon <bcannon@gmail.com>
Sat, 26 Jun 2004 04:10:14 +0000 (04:10 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sat, 26 Jun 2004 04:10:14 +0000 (04:10 +0000)
Closes bug #978645.

Misc/NEWS
Modules/getpath.c

index 4b81b23df11a849da9799d9cc855e59133143155..a9d11abde70582cac7364386c938b702b6b6c2cc 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -44,6 +44,12 @@ Library
 
 - Bug #934282: make pydoc.stripid() be case-insensitive.
 
+Build
+-----
+
+- Bug #978645: Modules/getpath.c now builds properly under --disable-framework
+  build under OS X.
+
 What's New in Python 2.3.4 (final)?
 ===================================
 
index b3921e3866ff4286b07cdb10f765005793d776a2..76103eaa7b0ed1c129f6800432e67f89af6d52a6 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