summaryrefslogtreecommitdiff
path: root/src/third_party/s2/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/s2/SConscript')
-rw-r--r--src/third_party/s2/SConscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/third_party/s2/SConscript b/src/third_party/s2/SConscript
index 04536677d07..7da9e7e5832 100644
--- a/src/third_party/s2/SConscript
+++ b/src/third_party/s2/SConscript
@@ -25,6 +25,11 @@ env.Append(CCFLAGS=['-DDEBUG_MODE=false'])
if env.ToolchainIs('clang'):
env.Append(CCFLAGS=['-Wno-mismatched-tags'])
+if env.TargetOSIs('windows'):
+ # C4996: 'memccpy': The POSIX name for this item is deprecated. Instead, use the ISO C and C++
+ # conformant name: _memccpy. See online help for details
+ env.Append(CCFLAGS=['/wd4996'])
+
env.Library( "s2",
[
"s1angle.cc",