Update format-inl.h

Fix https://github.com/gabime/spdlog/issues/1663
This commit is contained in:
Giovanni Cerretani 2020-09-03 14:10:04 +02:00 committed by GitHub
parent 6cccdc24bc
commit b89342f78a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,10 @@
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
# undef NOMINMAX
# elif defined(NOMINMAX) && !defined(WIN32_LEAN_AND_MEAN)
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
# else
# include <windows.h>
# endif