summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS3
-rw-r--r--Modules/getpath.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index caaed29..f24adc5 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 cbdcbd8..10ad509 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -6,7 +6,7 @@
#include <sys/types.h>
#include <string.h>
-#ifdef WITH_NEXT_FRAMEWORK
+#ifdef __APPLE__
#include <mach-o/dyld.h>
#endif