From: Brett Cannon Date: Sat, 26 Jun 2004 04:10:14 +0000 (+0000) Subject: Allow Modules/getpath.c to compile on OS X in a --disable-framework build. X-Git-Tag: v2.3.5c1~198 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c11c49f865a448fcdb8b82a61631203b66d4e457;p=thirdparty%2FPython%2Fcpython.git Allow Modules/getpath.c to compile on OS X in a --disable-framework build. Closes bug #978645. --- diff --git a/Misc/NEWS b/Misc/NEWS index 4b81b23df11a..a9d11abde705 100644 --- 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)? =================================== diff --git a/Modules/getpath.c b/Modules/getpath.c index b3921e3866ff..76103eaa7b0e 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -6,7 +6,7 @@ #include #include -#ifdef WITH_NEXT_FRAMEWORK +#ifdef __APPLE__ #include #endif