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

Side by Side Diff: Source/wtf/os-win32/inttypes.h

Issue 23187004: Do not include "wtf/Platform.h" directly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix win_x64 build Created 7 years, 4 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
« no previous file with comments | « Source/wtf/UnusedParam.h ('k') | 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 // ISO C9x compliant inttypes.h for Microsoft Visual Studio 1 // ISO C9x compliant inttypes.h for Microsoft Visual Studio
2 // Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 2 // Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
3 // 3 //
4 // Copyright (c) 2006 Alexander Chemeris 4 // Copyright (c) 2006 Alexander Chemeris
5 // 5 //
6 // Redistribution and use in source and binary forms, with or without 6 // Redistribution and use in source and binary forms, with or without
7 // modification, are permitted provided that the following conditions are met: 7 // modification, are permitted provided that the following conditions are met:
8 // 8 //
9 // 1. Redistributions of source code must retain the above copyright notice, 9 // 1. Redistributions of source code must retain the above copyright notice,
10 // this list of conditions and the following disclaimer. 10 // this list of conditions and the following disclaimer.
(...skipping 14 matching lines...) Expand all
25 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 26 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
27 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 27 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
28 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 // 29 //
30 /////////////////////////////////////////////////////////////////////////////// 30 ///////////////////////////////////////////////////////////////////////////////
31 31
32 #ifndef INTTYPES_WIN32_H 32 #ifndef INTTYPES_WIN32_H
33 #define INTTYPES_WIN32_H 33 #define INTTYPES_WIN32_H
34 34
35 #include "wtf/Platform.h"
36
37 #if !COMPILER(MSVC) 35 #if !COMPILER(MSVC)
38 #error "This inttypes.h file should only be compiled with MSVC" 36 #error "This inttypes.h file should only be compiled with MSVC"
39 #endif 37 #endif
40 38
41 #if _MSC_VER > 1000 39 #if _MSC_VER > 1000
42 #pragma once 40 #pragma once
43 #endif 41 #endif
44 42
45 #include "stdint.h" 43 #include "stdint.h"
46 44
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 #else 250 #else
253 # define SCNoPTR "lo" 251 # define SCNoPTR "lo"
254 # define SCNuPTR "lu" 252 # define SCNuPTR "lu"
255 # define SCNxPTR "lx" 253 # define SCNxPTR "lx"
256 # define SCNXPTR "lX" 254 # define SCNXPTR "lX"
257 #endif 255 #endif
258 256
259 #endif 257 #endif
260 258
261 #endif 259 #endif
OLDNEW
« no previous file with comments | « Source/wtf/UnusedParam.h ('k') | Source/wtf/os-win32/stdint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698