[win32] amend and unbreak previous NOMINMAX fix

This commit is contained in:
Aliaksey Kandratsenka 2023-07-25 15:58:02 -04:00
parent d2c89ba534
commit a5cfd38884

View File

@ -16,7 +16,9 @@
// windows.h whatevevs defines min and max preprocessor macros and // windows.h whatevevs defines min and max preprocessor macros and
// that breaks ::max() in various places (like numeric_limits) // that breaks ::max() in various places (like numeric_limits)
#ifndef NOMINMAX
#define NOMINMAX #define NOMINMAX
#endif
#ifndef GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ #ifndef GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_
#define GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ #define GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_