Fix compilation on MinGW
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 19 May 2009 09:59:41 +0000 (09:59 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 19 May 2009 09:59:41 +0000 (09:59 +0000)
commite3464bca9dc0c654f0db331d4df366f1d9c6994a
treea949731a1d5b496495305d1032f707df4bc1e6a8
parent8987c93a12843a07c0dc487ab0f1046e6fc267d4
Fix compilation on MinGW

On MinGW _WIN32_WINNT needs to be 0x501 (Windows XP) instead of 0x500 (Windows 2000) for some TCP/IP API's to be present.

MinGW uses stdint.h whereas Visual C++ does not.
Review URL: http://codereview.chromium.org/113576

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1999 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8.h
src/platform-win32.cc