Index: src/globals.h |
=================================================================== |
--- src/globals.h (revision 1090) |
+++ src/globals.h (working copy) |
@@ -30,10 +30,10 @@ |
// ----------------------------------------------------------------------------- |
// Types |
-// Windows is missing the stdint.h header file. Instead we define standard |
-// integer types for Windows here. |
+// Visual Studio C++ is missing the stdint.h header file. Instead we define |
+// standard integer types for Windows here. |
-#ifdef WIN32 |
+#ifdef _MSC_VER |
typedef signed char int8_t; |
typedef unsigned char uint8_t; |
typedef short int16_t; // NOLINT |
@@ -42,9 +42,9 @@ |
typedef unsigned int uint32_t; |
typedef __int64 int64_t; |
typedef unsigned __int64 uint64_t; |
-#else |
+#else // _MSC_VER |
#include <stdint.h> // for intptr_t |
-#endif |
+#endif // _MSC_VER |
namespace v8 { namespace internal { |