<http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system...
[WebKit-https.git] / Source / WebCore / platform / graphics / mac / ComplexTextController.cpp
index a9324d3..fe3238e 100644 (file)
@@ -33,7 +33,7 @@
 #include <wtf/StdLibExtras.h>
 #include <wtf/unicode/CharacterNames.h>
 
-#if defined(BUILDING_ON_LEOPARD)
+#if __MAC_OS_X_VERSION_MIN_REQUIRED == 1050
 // Undefined when compiling agains the 10.5 SDK.
 #define kCTVersionNumber10_6 0x00030000
 #endif