SLEEP_THREAD_FOR_DEBUGGER should not use fancy number literals
authorbburg@apple.com <bburg@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Mar 2018 20:26:17 +0000 (20:26 +0000)
committerbburg@apple.com <bburg@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Mar 2018 20:26:17 +0000 (20:26 +0000)
https://bugs.webkit.org/show_bug.cgi?id=183792

Reviewed by Timothy Hatcher.

* wtf/DebugUtilities.h: Remove the '_s' since this won't
compile when included by files compiled as Objective-C++.

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

Source/WTF/ChangeLog
Source/WTF/wtf/DebugUtilities.h

index 429f052..fd0a187 100644 (file)
@@ -1,3 +1,13 @@
+2018-03-20  Brian Burg  <bburg@apple.com>
+
+        SLEEP_THREAD_FOR_DEBUGGER should not use fancy number literals
+        https://bugs.webkit.org/show_bug.cgi?id=183792
+
+        Reviewed by Timothy Hatcher.
+
+        * wtf/DebugUtilities.h: Remove the '_s' since this won't
+        compile when included by files compiled as Objective-C++.
+
 2018-03-20  Tim Horton  <timothy_horton@apple.com>
 
         Add and adopt WK_PLATFORM_NAME and adjust default feature defines
index 0989280..122f768 100644 (file)
@@ -32,7 +32,7 @@
 #define SLEEP_THREAD_FOR_DEBUGGER() \
 do { \
     do { \
-        sleep(1_s); \
+        sleep(1); \
         if (WTFIsDebuggerAttached()) \
             break; \
     } while (1); \