Fix warnings in tools for MinGW (#428)

This commit is contained in:
J. Peter Mugaas
2023-12-30 14:45:09 -06:00
committed by GitHub
parent 187f6d64a8
commit a3d032b8a6
8 changed files with 53 additions and 6 deletions

View File

@@ -12,15 +12,19 @@
// http://go.microsoft.com/fwlink/?LinkId=248926
//--------------------------------------------------------------------------------------
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4005)
#endif
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#define NODRAWTEXT
#define NOMCX
#define NOSERVICE
#define NOHELP
#ifdef _MSC_VER
#pragma warning(pop)
#endif
#include <Windows.h>