From 67280724ba16cdc1894dcbccc268de4f12fdf87b Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Sat, 11 Jun 2022 19:05:07 +0100 Subject: [PATCH] Remove pragma --- mongoose.h | 1 - src/arch_win32.h | 1 - 2 files changed, 2 deletions(-) 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