Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index c7e4552b4d449092effb0b711742f8c69757d522..1a8a555fba14f1812172d5140c3b731c809e871e 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -38,23 +38,9 @@ |
#ifndef V8_H_ |
#define V8_H_ |
-#include <stdio.h> |
+#include "v8stdint.h" |
#ifdef _WIN32 |
-// When compiling on MinGW stdint.h is available. |
-#ifdef __MINGW32__ |
-#include <stdint.h> |
-#else // __MINGW32__ |
-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 __int64 int64_t; |
-typedef unsigned __int64 uint64_t; |
-// intptr_t and friends are defined in crtdefs.h through stdio.h. |
-#endif // __MINGW32__ |
// 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 |
@@ -76,8 +62,6 @@ typedef unsigned __int64 uint64_t; |
#else // _WIN32 |
-#include <stdint.h> |
- |
// Setup for Linux shared library export. There is no need to distinguish |
// between building or using the V8 shared library, but we should not |
// export symbols when we are building a static library. |
@@ -476,10 +460,10 @@ class V8EXPORT HandleScope { |
level = 0; |
} |
}; |
- |
+ |
void Leave(); |
- |
+ |
internal::Object** prev_next_; |
internal::Object** prev_limit_; |