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.
This commit is contained in:
Brett Cannon 2004-06-26 04:03:06 +00:00
parent d858a7763a
commit f6af76da61
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -6,7 +6,7 @@
#include <sys/types.h>
#include <string.h>
#ifdef WITH_NEXT_FRAMEWORK
#ifdef __APPLE__
#include <mach-o/dyld.h>
#endif