mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-13 23:16:02 +08:00
Define WIN32_LEAN_AND_MEAN to save the number of including files.
This commit is contained in:
parent
7d9a0bda3a
commit
87be0ce34b
@ -1095,8 +1095,16 @@ class TinyGLTF {
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#define TINYGLTF_INTERNAL_WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#include <windows.h> // include API for expanding a file path
|
||||
|
||||
#ifdef TINYGLTF_INTERNAL_WIN32_LEAN_AND_MEAN
|
||||
#undef WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#if defined(TINYGLTF_INTERNAL_NOMINMAX)
|
||||
#undef NOMINMAX
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user