Ticket #49607: patch-src-_macosx.m.diff
File patch-src-_macosx.m.diff, 478 bytes (added by jdgleeson, 9 years ago) |
---|
-
src/_macosx.m
old new 1 1 #include <Cocoa/Cocoa.h> 2 2 #include <ApplicationServices/ApplicationServices.h> 3 #ifndef kCTForegroundColorFromContextAttributeName 4 extern const CFStringRef kCTForegroundColorFromContextAttributeName AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; 5 #endif 3 6 #include <sys/socket.h> 4 7 #include <Python.h> 5 8 #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION