mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
Use windows_include in os-inl.h
This commit is contained in:
parent
4cdb159ccb
commit
05ecad4263
@ -23,16 +23,9 @@
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
#ifndef NOMINMAX
|
|
||||||
#define NOMINMAX // prevent windows redefining min/max
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
|
||||||
#endif
|
|
||||||
#include <io.h> // _get_osfhandle and _isatty support
|
#include <io.h> // _get_osfhandle and _isatty support
|
||||||
#include <process.h> // _get_pid support
|
#include <process.h> // _get_pid support
|
||||||
#include <windows.h>
|
#include <spdlog/details/windows_include.h>
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
#include <share.h>
|
#include <share.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user