2008-08-06 Ariya Hidayat <ariya.hidayat@trolltech.com>
authorvestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Aug 2008 11:17:21 +0000 (11:17 +0000)
committervestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Aug 2008 11:17:21 +0000 (11:17 +0000)
       Fix non-Mac build.

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

JavaScriptCore/ChangeLog
JavaScriptCore/wtf/RetainPtr.h

index a197311deef99824773d9c04053f244eaf758ccf..f60d23b8e287a15e5c05abd56e79ed3b040374b8 100644 (file)
@@ -1,3 +1,9 @@
+2008-08-06  Ariya Hidayat  <ariya.hidayat@trolltech.com>
+
+        Fix non-Mac build.
+
+        * wtf/RetainPtr.h: CoreFoundation only for PLATFORM(MAC)
+
 2008-08-06  Csaba Osztrogonac  <oszi@inf.u-szeged.hu>
 
         Reviewed by Darin. Landed by Cameron.
index 71260ebe2d8d245308a7929df842f6dee0e455e7..190231cfcd7d68eda4a063adbcf13e914f88d1bf 100644 (file)
 #define RetainPtr_h
 
 #include <algorithm>
+
+#if PLATFORM(MAC)
 #include <CoreFoundation/CoreFoundation.h>
+#endif
 
 #ifdef __OBJC__
 #import <Foundation/Foundation.h>