Title: [146948] trunk/Source/WTF
Revision
146948
Author
jam...@google.com
Date
2013-03-26 17:09:16 -0700 (Tue, 26 Mar 2013)

Log Message

Fix compile for OS(WIN) != PLATFORM(WIN)
https://bugs.webkit.org/show_bug.cgi?id=113356

Reviewed by Tim Horton.

* wtf/ProcessID.h:
(WTF::getCurrentProcessID):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (146947 => 146948)


--- trunk/Source/WTF/ChangeLog	2013-03-27 00:03:41 UTC (rev 146947)
+++ trunk/Source/WTF/ChangeLog	2013-03-27 00:09:16 UTC (rev 146948)
@@ -1,3 +1,13 @@
+2013-03-26  James Robinson  <jam...@chromium.org>
+
+        Fix compile for OS(WIN) != PLATFORM(WIN)
+        https://bugs.webkit.org/show_bug.cgi?id=113356
+
+        Reviewed by Tim Horton.
+
+        * wtf/ProcessID.h:
+        (WTF::getCurrentProcessID):
+
 2013-03-23  Filip Pizlo  <fpi...@apple.com>
 
         JSC_enableProfiler=true should also cause JSGlobalData to save the profiler output somewhere

Modified: trunk/Source/WTF/wtf/ProcessID.h (146947 => 146948)


--- trunk/Source/WTF/wtf/ProcessID.h	2013-03-27 00:03:41 UTC (rev 146947)
+++ trunk/Source/WTF/wtf/ProcessID.h	2013-03-27 00:09:16 UTC (rev 146948)
@@ -32,7 +32,7 @@
 #include <unistd.h>
 #endif
 
-#if PLATFORM(WIN)
+#if OS(WIN)
 #include <windows.h>
 #endif
 
@@ -40,7 +40,7 @@
 
 inline int getCurrentProcessID()
 {
-#if PLATFORM(WIN)
+#if OS(WIN)
     return GetCurrentProcessId();
 #else
     return getpid();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to