Files
YYCCommonplace/src/WinImportPrefix.hpp

11 lines
258 B
C++
Raw Normal View History

2024-04-25 10:38:13 +08:00
#pragma once
#include "YYCCInternal.hpp"
#if YYCC_OS == YYCC_OS_WINDOWS
2024-04-29 15:48:10 +08:00
// Define 2 macros to disallow Windows generate MIN and MAX macros
// which cause std::min and std::max can not function as normal.
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
2024-04-25 10:38:13 +08:00
#endif