Index: content/content_shell.gypi |
diff --git a/content/content_shell.gypi b/content/content_shell.gypi |
index 8c32ab7dc00ee2b20735c9fba33cd64093e2bb4e..5df6def21cf75705fb0287ddf52d6e06bf82ca6b 100644 |
--- a/content/content_shell.gypi |
+++ b/content/content_shell.gypi |
@@ -743,9 +743,14 @@ |
'dependencies': [ '../build/linux/system.gyp:x11' ], |
}], |
['OS=="win"', { |
- 'defines': [ |
- # This seems like a hack, but this is what Safari Win does. |
- 'snprintf=_snprintf', |
+ 'conditions': [ |
+ ['MSVS_VERSION < "2015"', { |
+ 'defines': [ |
+ # This seems like a hack, but this is what Safari Win does. |
+ # Luckily it is no longer needed/allowed with VS 2015. |
+ 'snprintf=_snprintf', |
+ ], |
+ }], |
], |
'sources': [ |
'shell/tools/plugin/win/TestNetscapePlugin.def', |