diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-07-14 22:37:27 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-07-14 22:37:27 (GMT) |
commit | 74a1e63a89cdaad288260600cf77e3a20811f49b (patch) | |
tree | fcac57d67ef4a81ecfb8ae462dc3d254e9cf46be /Mac/Modules/win/winedit.py | |
parent | 2d391f2f397d66e2ac3cadc0b3c3b008a57094bb (diff) | |
download | cpython-74a1e63a89cdaad288260600cf77e3a20811f49b.zip cpython-74a1e63a89cdaad288260600cf77e3a20811f49b.tar.gz cpython-74a1e63a89cdaad288260600cf77e3a20811f49b.tar.bz2 |
Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.
Diffstat (limited to 'Mac/Modules/win/winedit.py')
-rw-r--r-- | Mac/Modules/win/winedit.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Mac/Modules/win/winedit.py b/Mac/Modules/win/winedit.py index bf43a43..89955ea 100644 --- a/Mac/Modules/win/winedit.py +++ b/Mac/Modules/win/winedit.py @@ -40,34 +40,34 @@ methods.append(f) f = Method(Boolean, 'GetWindowZoomFlag', (WindowRef, 'theWindow', InMode), - condition='#ifndef TARGET_API_MAC_CARBON' + condition='#if !TARGET_API_MAC_CARBON' ) methods.append(f) f = Method(void, 'GetWindowStructureRgn', (WindowRef, 'theWindow', InMode), (RgnHandle, 'r', InMode), - condition='#ifndef TARGET_API_MAC_CARBON' + condition='#if !TARGET_API_MAC_CARBON' ) methods.append(f) f = Method(void, 'GetWindowContentRgn', (WindowRef, 'theWindow', InMode), (RgnHandle, 'r', InMode), - condition='#ifndef TARGET_API_MAC_CARBON' + condition='#if !TARGET_API_MAC_CARBON' ) methods.append(f) f = Method(void, 'GetWindowUpdateRgn', (WindowRef, 'theWindow', InMode), (RgnHandle, 'r', InMode), - condition='#ifndef TARGET_API_MAC_CARBON' + condition='#if !TARGET_API_MAC_CARBON' ) methods.append(f) f = Method(short, 'GetWindowTitleWidth', (WindowRef, 'theWindow', InMode), - condition='#ifndef TARGET_API_MAC_CARBON' + condition='#if !TARGET_API_MAC_CARBON' ) methods.append(f) @@ -105,7 +105,7 @@ methods.append(f) # so we add the old/real names by hand. f = Method(void, 'CloseWindow', (WindowPtr, 'theWindow', InMode), - condition='#ifndef TARGET_API_MAC_CARBON' + condition='#if !TARGET_API_MAC_CARBON' ) methods.append(f) |