From da8024854e6ca7b9fd2fdd254e0d00558279fc7d Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 28 Apr 2015 01:13:33 +0300 Subject: [PATCH] Fixe bug #84 (mingw gives '_SH_DENYWR' was not declared in this scope') --- include/spdlog/details/os.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/spdlog/details/os.h b/include/spdlog/details/os.h index 18e3fb71..5745d421 100644 --- a/include/spdlog/details/os.h +++ b/include/spdlog/details/os.h @@ -32,6 +32,9 @@ # define WIN32_LEAN_AND_MEAN # endif # include +#ifdef __MINGW32__ +#include +#endif #elif __linux__ #include //Use gettid() syscall under linux to get thread id #include