Index: src/v8dll-main.cc |
diff --git a/src/v8dll-main.cc b/src/v8dll-main.cc |
index 49d868957d9d3fa1fce110565a0afcf99f90d6da..7f6c9f955d3f5a0ca63dd9ff14d5fb8fc93e734b 100644 |
--- a/src/v8dll-main.cc |
+++ b/src/v8dll-main.cc |
@@ -30,8 +30,8 @@ |
#undef USING_V8_SHARED |
#include "../include/v8.h" |
-#ifdef WIN32 |
-#include <windows.h> // NOLINT |
+#if V8_OS_WIN |
+#include "win32-headers.h" |
extern "C" { |
BOOL WINAPI DllMain(HANDLE hinstDLL, |
@@ -41,4 +41,4 @@ BOOL WINAPI DllMain(HANDLE hinstDLL, |
return TRUE; |
} |
} |
-#endif |
+#endif // V8_OS_WIN |