Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.
diff --git a/Mac/Python/macgetcompiler.c b/Mac/Python/macgetcompiler.c
index d7f535f..c7f325c 100644
--- a/Mac/Python/macgetcompiler.c
+++ b/Mac/Python/macgetcompiler.c
@@ -51,7 +51,7 @@
 #define HASTHREAD ""
 #endif
 
-#ifdef TARGET_API_MAC_CARBON
+#if TARGET_API_MAC_CARBON
 #define TARGET_API " CARBON"
 #else
 #define TARGET_API ""