From 0286dcdb3481966e0f2c2cabbc468a4b299adf5c Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 25 Apr 2021 23:44:51 -0400 Subject: silence some MSVC warnings --- include/enet/win32.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 -- cgit v1.2.3