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

Side by Side Diff: include/v8stdint.h

Issue 667573005: Visual Studio provides stdint.h these days. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Load definitions of standard types. 5 // Load definitions of standard types.
6 6
7 #ifndef V8STDINT_H_ 7 #ifndef V8STDINT_H_
8 #define V8STDINT_H_ 8 #define V8STDINT_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
11 #include <stdint.h>
11 #include <stdio.h> 12 #include <stdio.h>
12 13
13 #include "v8config.h" 14 #include "v8config.h"
14 15
15 #if V8_OS_WIN && !V8_CC_MINGW
16
17 typedef signed char int8_t;
18 typedef unsigned char uint8_t;
19 typedef short int16_t; // NOLINT
20 typedef unsigned short uint16_t; // NOLINT
21 typedef int int32_t;
22 typedef unsigned int uint32_t;
23 typedef __int64 int64_t;
24 typedef unsigned __int64 uint64_t;
25 // intptr_t and friends are defined in crtdefs.h through stdio.h.
26
27 #else
28
29 #include <stdint.h> // NOLINT
30
31 #endif
32
33 #endif // V8STDINT_H_ 16 #endif // V8STDINT_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698