summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2008-08-12 12:41:45 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2008-08-12 12:41:45 (GMT)
commitaa8efbf08469c3667ed22362c0e10b83ae124c0b (patch)
tree4978db3ad178adc1b5437eebed704efcf008354d /Mac/Modules
parenta4cb472fb09a45e874e1a28b8c240ae88e22b2f7 (diff)
downloadcpython-aa8efbf08469c3667ed22362c0e10b83ae124c0b.zip
cpython-aa8efbf08469c3667ed22362c0e10b83ae124c0b.tar.gz
cpython-aa8efbf08469c3667ed22362c0e10b83ae124c0b.tar.bz2
Another fix for 4-way universal builds, use the right #ifndef guard
to detect the OSX 10.5 SDK.
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/MacOS.c2
-rw-r--r--Mac/Modules/file/_Filemodule.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/MacOS.c b/Mac/Modules/MacOS.c
index 07a3434..272fe8d 100644
--- a/Mac/Modules/MacOS.c
+++ b/Mac/Modules/MacOS.c
@@ -30,7 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <Carbon/Carbon.h>
#include <ApplicationServices/ApplicationServices.h>
-#ifndef HAVE_MACOS105_SDK
+#ifndef HAVE_OSX105_SDK
typedef SInt16 FSIORefNum;
#endif
diff --git a/Mac/Modules/file/_Filemodule.c b/Mac/Modules/file/_Filemodule.c
index a314e5b..22e12ec 100644
--- a/Mac/Modules/file/_Filemodule.c
+++ b/Mac/Modules/file/_Filemodule.c
@@ -7,7 +7,7 @@
#include "pymactoolbox.h"
-#ifndef HAVE_MACOS105_SDK
+#ifndef HAVE_OSX105_SDK
typedef SInt16 FSIORefNum;
#endif