Commit f6af76da authored by Brett Cannon's avatar Brett Cannon

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.
parent d858a776
...@@ -531,6 +531,9 @@ Tools/Demos ...@@ -531,6 +531,9 @@ Tools/Demos
Build 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 - Profiling using gprof is now available if Python is configured with
--enable-profiling. --enable-profiling.
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <string.h> #include <string.h>
#ifdef WITH_NEXT_FRAMEWORK #ifdef __APPLE__
#include <mach-o/dyld.h> #include <mach-o/dyld.h>
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment