Chromium Code Reviews| 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 |