mirror of https://github.com/gabime/spdlog.git
Merge pull request #1453 from david-bodor-at-craftunique/v1.x
only include windows.h when it's unavoidablepull/1457/head
commit
32902f79ad
@ -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>
|
Loading…
Reference in New Issue