Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1973)

Unified Diff: Source/wtf/Compiler.h

Issue 26358014: Use the system stdint.h on Windows. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/wtf/os-win32/stdint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Compiler.h
===================================================================
--- Source/wtf/Compiler.h (revision 159462)
+++ Source/wtf/Compiler.h (working copy)
@@ -71,6 +71,11 @@
#if defined(_MSC_VER)
#define WTF_COMPILER_MSVC 1
+/* When using ICU with Visual Studio 2010, stdint.h must be included before umachine.h. */
+#if _MSC_VER == 1600
+#include <stdint.h>
+#endif
abarth-chromium 2013/10/12 21:16:46 This seems like an odd place to put this code. Th
bungeman-chromium 2013/10/13 14:40:25 Yes, this would be much better.
+
/* Specific compiler features */
#if !COMPILER(CLANG) && _MSC_VER >= 1600
#define WTF_COMPILER_SUPPORTS_CXX_NULLPTR 1
« no previous file with comments | « no previous file | Source/wtf/os-win32/stdint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698