Fix Platform.h to include #defines for graphics features.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Aug 2006 00:04:12 +0000 (00:04 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Aug 2006 00:04:12 +0000 (00:04 +0000)
        Reviewed by darin

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16000 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj
JavaScriptCore/wtf/Platform.h

index 2c7b6bb8dd5554448b02c1ac60a9138678e920aa..658e1db8a40f7d732b6017d5827c28fdd82a6971 100644 (file)
@@ -1,3 +1,12 @@
+2006-08-23  David Hyatt  <hyatt@apple.com>
+
+        Fix Platform.h to include #defines for graphics features.
+
+        Reviewed by darin
+
+        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
+        * wtf/Platform.h:
+
 2006-08-23  Anders Carlsson  <acarlsson@apple.com>
 
         Reviewed by Darin.
index 5fb9e92f1bd8bc2826ef775af9f7b2127f037bf9..6f085879b341a7a4ca429c91377401695d8e7c66 100644 (file)
                                RelativePath="..\..\wtf\PassRefPtr.h"
                                >
                        </File>
+                       <File
+                               RelativePath="..\..\wtf\Platform.h"
+                               >
+                       </File>
                        <File
                                RelativePath="..\..\wtf\RefPtr.h"
                                >
index 4db3c22652bf0345c74793cf52a45f1223af0252..7fcca68311b45518c617de0d8e928aabc93942c2 100644 (file)
 #define KXMLCORE_PLATFORM_GDK 1
 #endif
 
+/* Graphics engines */
+
+/* PLATFORM(CG) */
+/* PLATFORM(CAIRO) */
+#if PLATFORM(MAC)
+#define KXMLCORE_PLATFORM_CG 1
+#else
+#define KXMLCORE_PLATFORM_CAIRO 1
+#endif
+
 /* CPU */
 
 /* PLATFORM(PPC) */