Merge pull request #1453 from david-bodor-at-craftunique/v1.x

only include windows.h when it's unavoidable
This commit is contained in:
Gabi Melman
2020-02-26 12:41:51 +02:00
committed by GitHub
5 changed files with 17 additions and 14 deletions

View File

@@ -0,0 +1,11 @@
#pragma once
#ifndef NOMINMAX
#define NOMINMAX // prevent windows redefining min/max
#endif
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>