From: Cheng Zhao Date: Tue, 2 Jul 2013 10:47:51 +0000 (+0800) Subject: Use the platform_util_win implementation from Chromium. X-Git-Tag: v0.1.0~41 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=40e06db3a8377a94c8d4d74d08ff5f72b098f815;p=electron.git Use the platform_util_win implementation from Chromium. --- diff --git a/atom.gyp b/atom.gyp index 11ca0cef..9fbf8bf1 100644 --- a/atom.gyp +++ b/atom.gyp @@ -121,8 +121,9 @@ 'common/node_bindings_mac.mm', 'common/options_switches.cc', 'common/options_switches.h', - 'common/platform_util_mac.mm', 'common/platform_util.h', + 'common/platform_util_mac.mm', + 'common/platform_util_win.cc', 'common/v8_value_converter_impl.cc', 'common/v8_value_converter_impl.h', 'renderer/api/atom_api_renderer_ipc.cc', diff --git a/common.gypi b/common.gypi index 8efe92b4..d36fb3fd 100644 --- a/common.gypi +++ b/common.gypi @@ -61,6 +61,7 @@ 'msvs_cygwin_shell': 0, # Strangely setting it to 1 would make building under cygwin fail. 'msvs_disabled_warnings': [ 4005, # (node.h) macro redefinition + 4189, # local variable is initialized but not referenced 4201, # (uv.h) nameless struct/union 4800, # (v8.h) forcing value to bool 'true' or 'false' 4819, # The file contains a character that cannot be represented in the current code page