Compile v8.cc under C++11 mode using MinGW-w64 4.7.1 80/1780/1
authorYuchen Deng <loaden@gmail.com>
Mon, 20 Aug 2012 11:00:42 +0000 (19:00 +0800)
committerQt by Nokia <qt-info@nokia.com>
Tue, 21 Aug 2012 09:14:40 +0000 (11:14 +0200)
commite49f760da4b42c96e9fd927ab8b7a5d0808dc5a3
tree04562a567ddb268b1805ba84d2bb477957bde3af
parent89c7e60ca70d0ff8f26f311fa92b8109d275f6f9
Compile v8.cc under C++11 mode using MinGW-w64 4.7.1

error: 'random' was not declared in this scope

WIN32 is not defined on C++11 mode, but _WIN32 is defined.
Simply change WIN32 to _WIN32 is enough

Change-Id: I8cad360945e7f31c34a70f54c754fafeffc2f36a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
src/3rdparty/v8/src/platform.h