Index: include/v8.h |
=================================================================== |
--- include/v8.h (revision 1843) |
+++ include/v8.h (working copy) |
@@ -41,10 +41,15 @@ |
#include <stdio.h> |
#ifdef _WIN32 |
+typedef signed char int8_t; |
+typedef unsigned char uint8_t; |
+typedef short int16_t; // NOLINT |
+typedef unsigned short uint16_t; // NOLINT |
typedef int int32_t; |
typedef unsigned int uint32_t; |
-typedef unsigned short uint16_t; // NOLINT |
-typedef long long int64_t; // NOLINT |
+typedef __int64 int64_t; |
+typedef unsigned __int64 uint64_t; |
+// intptr_t is defined in crtdefs.h through stdio.h. |
// Setup for Windows DLL export/import. When building the V8 DLL the |
// BUILDING_V8_SHARED needs to be defined. When building a program which uses |