Title: [201257] trunk/Source/WTF
- Revision
- 201257
- Author
- m...@apple.com
- Date
- 2016-05-22 15:04:10 -0700 (Sun, 22 May 2016)
Log Message
Correct the previous build fix attempt.
* wtf/StdLibExtras.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (201256 => 201257)
--- trunk/Source/WTF/ChangeLog 2016-05-22 21:10:29 UTC (rev 201256)
+++ trunk/Source/WTF/ChangeLog 2016-05-22 22:04:10 UTC (rev 201257)
@@ -1,5 +1,11 @@
2016-05-22 Dan Bernstein <m...@apple.com>
+ Correct the previous build fix attempt.
+
+ * wtf/StdLibExtras.h:
+
+2016-05-22 Dan Bernstein <m...@apple.com>
+
Build fix for non-C++14 Apple projects that use WTF.
Rubber-stamped by Anders.
Modified: trunk/Source/WTF/wtf/StdLibExtras.h (201256 => 201257)
--- trunk/Source/WTF/wtf/StdLibExtras.h 2016-05-22 21:10:29 UTC (rev 201256)
+++ trunk/Source/WTF/wtf/StdLibExtras.h 2016-05-22 22:04:10 UTC (rev 201257)
@@ -351,7 +351,7 @@
using WTF::safeCast;
using WTF::tryBinarySearch;
-#if COMPILER_SUPPORTS(CXX_USER_LITERALS)
+#if __cplusplus >= 201402L
// We normally don't want to bring in entire std namespaces, but literals are an exception.
using namespace std::literals::chrono_literals;
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes