Reviewers: yextyk_gmail.com,

Message:
Please confirm that this fixes the MinGW build (since it apparently has been
broken in r9471).

Description:
Fix MinGW build.

BUG=v8:1724


Please review this at http://codereview.chromium.org/8936006/

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 0ee330668afeedfe5272320752d3085ea4527e29..ca1b1d8b8e005b453f65e0a99b3b613fb5520a9b 100644
--- a/src/win32-headers.h
+++ b/src/win32-headers.h
@@ -75,7 +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

Reply via email to