Reviewers: Michael Starzinger,
Message:
PTAL.
Apparently the order of includes matters.
Description:
Fixing windows builds.
Please review this at http://codereview.chromium.org/9169007/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/win32-headers.h
Index: src/win32-headers.h
diff --git a/src/win32-headers.h b/src/win32-headers.h
index
92cee55c2899df09b9a46df7e6943be49e571c12..ca1b1d8b8e005b453f65e0a99b3b613fb5520a9b
100644
--- a/src/win32-headers.h
+++ b/src/win32-headers.h
@@ -67,7 +67,6 @@
#ifndef __MINGW32__
#include <dbghelp.h> // For SymLoadModule64 and al.
#include <errno.h> // For STRUNCATE
-#include <wspiapi.h>
#endif // __MINGW32__
#include <limits.h> // For INT_MAX and al.
#include <tlhelp32.h> // For Module32First and al.
@@ -76,6 +75,9 @@
// makes it impossible to have them elsewhere.
#include <winsock2.h>
#include <ws2tcpip.h>
+#ifndef __MINGW32__
+#include <wspiapi.h>
+#endif // __MINGW32__
#include <process.h> // for _beginthreadex()
#include <stdlib.h>
#endif // V8_WIN32_HEADERS_FULL
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev