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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/wtf/os-win32/stdint.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #endif 64 #endif
65 65
66 #ifndef CLANG_PRAGMA 66 #ifndef CLANG_PRAGMA
67 #define CLANG_PRAGMA(PRAGMA) 67 #define CLANG_PRAGMA(PRAGMA)
68 #endif 68 #endif
69 69
70 /* COMPILER(MSVC) - Microsoft Visual C++ */ 70 /* COMPILER(MSVC) - Microsoft Visual C++ */
71 #if defined(_MSC_VER) 71 #if defined(_MSC_VER)
72 #define WTF_COMPILER_MSVC 1 72 #define WTF_COMPILER_MSVC 1
73 73
74 /* When using ICU with Visual Studio 2010, stdint.h must be included before umac hine.h. */
75 #if _MSC_VER == 1600
76 #include <stdint.h>
77 #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.
78
74 /* Specific compiler features */ 79 /* Specific compiler features */
75 #if !COMPILER(CLANG) && _MSC_VER >= 1600 80 #if !COMPILER(CLANG) && _MSC_VER >= 1600
76 #define WTF_COMPILER_SUPPORTS_CXX_NULLPTR 1 81 #define WTF_COMPILER_SUPPORTS_CXX_NULLPTR 1
77 #endif 82 #endif
78 83
79 #if !COMPILER(CLANG) 84 #if !COMPILER(CLANG)
80 #define WTF_COMPILER_SUPPORTS_CXX_OVERRIDE_CONTROL 1 85 #define WTF_COMPILER_SUPPORTS_CXX_OVERRIDE_CONTROL 1
81 #define WTF_COMPILER_QUIRK_FINAL_IS_CALLED_SEALED 1 86 #define WTF_COMPILER_QUIRK_FINAL_IS_CALLED_SEALED 1
82 #endif 87 #endif
83 88
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 #define OBJC_CLASS class 253 #define OBJC_CLASS class
249 #endif 254 #endif
250 #endif 255 #endif
251 256
252 /* ABI */ 257 /* ABI */
253 #if defined(__ARM_EABI__) || defined(__EABI__) 258 #if defined(__ARM_EABI__) || defined(__EABI__)
254 #define WTF_COMPILER_SUPPORTS_EABI 1 259 #define WTF_COMPILER_SUPPORTS_EABI 1
255 #endif 260 #endif
256 261
257 #endif /* WTF_Compiler_h */ 262 #endif /* WTF_Compiler_h */
OLDNEW
« 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