2008-05-08 Tor Arne Vestbø <tavestbo@trolltech.com>
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 May 2008 13:53:11 +0000 (13:53 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 May 2008 13:53:11 +0000 (13:53 +0000)
        Reviewed by Simon

        Fix the Qt/Mac build.

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

WebCore/ChangeLog
WebCore/platform/FileSystem.h

index 4464616..d50faf0 100644 (file)
@@ -1,3 +1,11 @@
+2008-05-08  Tor Arne Vestbø  <tavestbo@trolltech.com>
+
+        Reviewed by Simon
+
+        Fix the Qt/Mac build.
+
+        * platform/FileSystem.h:
+
 2008-05-08  Ariya Hidayat  <ariya.hidayat@trolltech.com>
 
         Reviewed by Simon.
index 29c2ddf..505c82c 100644 (file)
@@ -78,11 +78,10 @@ struct PlatformModuleVersion {
 
 typedef QFile* PlatformFileHandle;
 const PlatformFileHandle invalidPlatformFileHandle = 0;
-#if defined(Q_WS_X11)
+#if defined(Q_WS_X11) || defined(Q_WS_MAC)
 typedef QLibrary* PlatformModule;
 typedef unsigned PlatformModuleVersion;
-#endif
-#if defined(Q_OS_WIN32)
+#elif defined(Q_OS_WIN32)
 typedef HMODULE PlatformModule;
 struct PlatformModuleVersion {
     unsigned leastSig;