Another Windows release build fix.
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Aug 2013 03:16:02 +0000 (03:16 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Aug 2013 03:16:02 +0000 (03:16 +0000)
* WebKitLogging.cpp: Wrap the implementation file in !LOG_DISABLED #if's too.

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

Source/WebKit/win/ChangeLog
Source/WebKit/win/WebKitLogging.cpp

index de78a9ce11f86363c09da525675138f77802c20f..160e332112126d79462d53970bd1f8fb0b61320c 100644 (file)
@@ -1,3 +1,9 @@
+2013-08-05  Mark Rowe  <mrowe@apple.com>
+
+        Another Windows release build fix.
+
+        * WebKitLogging.cpp: Wrap the implementation file in !LOG_DISABLED #if's too.
+
 2013-08-05  Mark Rowe  <mrowe@apple.com>
 
         Build fix for Windows release build.
index ee8992b736d4611120221c2be419120f71b8a8ae..a8c73a1788057ccbbdd00492e0946aca2ce56e6b 100644 (file)
@@ -28,6 +28,8 @@
 #include "config.h"
 #include "WebKitLogging.h"
 
+#if !LOG_DISABLED
+
 #define DEFINE_LOG_CHANNEL(name) \
     WTFLogChannel JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, name) = { WTFLogChannelOff, #name };
 WEBKIT_LOG_CHANNELS(DEFINE_LOG_CHANNEL)
@@ -49,3 +51,5 @@ void WebKitInitializeLoggingChannelsIfNecessary()
     // FIXME: Get the log channel string from somewhere so people don't have to hardcode it here.
     WTFInitializeLogChannelStatesFromString(logChannels, logChannelCount, "");
 }
+
+#endif // !LOG_DISABLED