refactor: extract windows.h include to details/windows_include.h

This commit is contained in:
Dávid Bodor
2020-02-26 08:54:56 +01:00
parent 6e763d2776
commit fab33dd230
4 changed files with 16 additions and 29 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>