Visual Studio provides stdint.h these days.
authorbmeurer@chromium.org <bmeurer@chromium.org>
Tue, 21 Oct 2014 04:55:49 +0000 (04:55 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Tue, 21 Oct 2014 04:55:49 +0000 (04:55 +0000)
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/667573005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24751 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

include/v8stdint.h

index 9a935dd..ce25481 100644 (file)
@@ -8,26 +8,9 @@
 #define V8STDINT_H_
 
 #include <stddef.h>
+#include <stdint.h>
 #include <stdio.h>
 
 #include "v8config.h"
 
-#if V8_OS_WIN && !V8_CC_MINGW
-
-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.
-
-#else
-
-#include <stdint.h>  // NOLINT
-
-#endif
-
 #endif  // V8STDINT_H_