Skip to content

Instantly share code, notes, and snippets.

@bnoordhuis
Created October 11, 2011 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bnoordhuis/2a60fd155b95e2cfadc6 to your computer and use it in GitHub Desktop.
Save bnoordhuis/2a60fd155b95e2cfadc6 to your computer and use it in GitHub Desktop.
diff --git a/deps/v8/src/platform.h b/deps/v8/src/platform.h
index 034fe34..23a50c2 100644
--- a/deps/v8/src/platform.h
+++ b/deps/v8/src/platform.h
@@ -62,7 +62,7 @@ int signbit(double x);
// Windows specific stuff.
-#ifdef WIN32
+#ifdef _WIN32
// Microsoft Visual C++ specific stuff.
#ifdef _MSC_VER
@@ -76,7 +76,7 @@ int strncasecmp(const char* s1, const char* s2, int n);
// Random is missing on both Visual Studio and MinGW.
int random();
-#endif // WIN32
+#endif // _WIN32
#include "atomicops.h"
#include "platform-tls.h"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment