aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2021-04-25 23:44:51 -0400
committerLee Salzman <[email protected]>2021-04-25 23:44:51 -0400
commit0286dcdb3481966e0f2c2cabbc468a4b299adf5c (patch)
treeac8fe2280b870819aa6a7790ebe7b4ce7ab9ad58 /include
parente3ada4ed750b976833e3d54a9c1179445289bbf6 (diff)
downloadenet-0286dcdb3481966e0f2c2cabbc468a4b299adf5c.tar.gz
enet-0286dcdb3481966e0f2c2cabbc468a4b299adf5c.zip
silence some MSVC warnings
Diffstat (limited to 'include')
-rw-r--r--include/enet/win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/enet/win32.h b/include/enet/win32.h
index e73ca9d..6fbd7c0 100644
--- a/include/enet/win32.h
+++ b/include/enet/win32.h
@@ -11,6 +11,8 @@
#pragma warning (disable: 4244) // 64bit to 32bit int
#pragma warning (disable: 4018) // signed/unsigned mismatch
#pragma warning (disable: 4146) // unary minus operator applied to unsigned type
+#define _CRT_SECURE_NO_DEPRECATE
+#define _CRT_SECURE_NO_WARNINGS
#endif
#endif