Title: [201256] trunk/Source/WTF
Revision
201256
Author
m...@apple.com
Date
2016-05-22 14:10:29 -0700 (Sun, 22 May 2016)

Log Message

Build fix for non-C++14 Apple projects that use WTF.

Rubber-stamped by Anders.

* wtf/StdLibExtras.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (201255 => 201256)


--- trunk/Source/WTF/ChangeLog	2016-05-22 20:09:57 UTC (rev 201255)
+++ trunk/Source/WTF/ChangeLog	2016-05-22 21:10:29 UTC (rev 201256)
@@ -1,3 +1,11 @@
+2016-05-22  Dan Bernstein  <m...@apple.com>
+
+        Build fix for non-C++14 Apple projects that use WTF.
+
+        Rubber-stamped by Anders.
+
+        * wtf/StdLibExtras.h:
+
 2016-05-22  Brady Eidson  <beid...@apple.com>
 
         Move to C++14.

Modified: trunk/Source/WTF/wtf/StdLibExtras.h (201255 => 201256)


--- trunk/Source/WTF/wtf/StdLibExtras.h	2016-05-22 20:09:57 UTC (rev 201255)
+++ trunk/Source/WTF/wtf/StdLibExtras.h	2016-05-22 21:10:29 UTC (rev 201256)
@@ -351,7 +351,9 @@
 using WTF::safeCast;
 using WTF::tryBinarySearch;
 
+#if COMPILER_SUPPORTS(CXX_USER_LITERALS)
 // We normally don't want to bring in entire std namespaces, but literals are an exception.
 using namespace std::literals::chrono_literals;
+#endif
 
 #endif // WTF_StdLibExtras_h
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to