diff --git a/mongoose.h b/mongoose.h index 607723a6..90fdd09b 100644 --- a/mongoose.h +++ b/mongoose.h @@ -462,7 +462,6 @@ extern int SockSet(SOCKET hSock, int Type, int Prop, void *pbuf, int size); #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #endif -#pragma warning(disable : 4996) #ifndef _WINSOCK_DEPRECATED_NO_WARNINGS #define _WINSOCK_DEPRECATED_NO_WARNINGS diff --git a/src/arch_win32.h b/src/arch_win32.h index 670d4b16..2616156a 100644 --- a/src/arch_win32.h +++ b/src/arch_win32.h @@ -9,7 +9,6 @@ #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #endif -#pragma warning(disable : 4996) #ifndef _WINSOCK_DEPRECATED_NO_WARNINGS #define _WINSOCK_DEPRECATED_NO_WARNINGS