Title: [153739] trunk/Source/WebKit/win
- Revision
- 153739
- Author
- mr...@apple.com
- Date
- 2013-08-05 20:16:02 -0700 (Mon, 05 Aug 2013)
Log Message
Another Windows release build fix.
* WebKitLogging.cpp: Wrap the implementation file in !LOG_DISABLED #if's too.
Modified Paths
Diff
Modified: trunk/Source/WebKit/win/ChangeLog (153738 => 153739)
--- trunk/Source/WebKit/win/ChangeLog 2013-08-06 03:10:18 UTC (rev 153738)
+++ trunk/Source/WebKit/win/ChangeLog 2013-08-06 03:16:02 UTC (rev 153739)
@@ -1,5 +1,11 @@
2013-08-05 Mark Rowe <mr...@apple.com>
+ Another Windows release build fix.
+
+ * WebKitLogging.cpp: Wrap the implementation file in !LOG_DISABLED #if's too.
+
+2013-08-05 Mark Rowe <mr...@apple.com>
+
Build fix for Windows release build.
* WebKitLogging.h: Wrap things in !LOG_DISABLED so that we don't attempt to use macros that have not been defined.
Modified: trunk/Source/WebKit/win/WebKitLogging.cpp (153738 => 153739)
--- trunk/Source/WebKit/win/WebKitLogging.cpp 2013-08-06 03:10:18 UTC (rev 153738)
+++ trunk/Source/WebKit/win/WebKitLogging.cpp 2013-08-06 03:16:02 UTC (rev 153739)
@@ -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 @@
// FIXME: Get the log channel string from somewhere so people don't have to hardcode it here.
WTFInitializeLogChannelStatesFromString(logChannels, logChannelCount, "");
}
+
+#endif // !LOG_DISABLED
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes