From: Brett Cannon Date: Sat, 26 Jun 2004 04:03:06 +0000 (+0000) Subject: Modules/getpath.c now compiles properly under OS X when using the X-Git-Tag: v2.4a1~127 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6af76da61fcbd9e6f0d43dcbd236864e12ec334;p=python 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. --- diff --git a/Misc/NEWS b/Misc/NEWS index caaed293dd..f24adc55a9 100644 --- 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. 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 #include -#ifdef WITH_NEXT_FRAMEWORK +#ifdef __APPLE__ #include #endif