Revision: 9488 Author: [email protected] Date: Fri Sep 30 00:46:13 2011 Log: Fixing MinGW build.
BUG=v8:1695 Review URL: http://codereview.chromium.org/8081015 http://code.google.com/p/v8/source/detail?r=9488 Modified: /branches/bleeding_edge/src/d8.cc ======================================= --- /branches/bleeding_edge/src/d8.cc Thu Sep 29 01:55:36 2011 +++ /branches/bleeding_edge/src/d8.cc Fri Sep 30 00:46:13 2011 @@ -817,7 +817,7 @@ static FILE* FOpen(const char* path, const char* mode) { -#if (defined(_WIN32) || defined(_WIN64)) +#if defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64)) FILE* result; if (fopen_s(&result, path, mode) == 0) { return result; -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
