diff --git a/source/build/include/windows_inc.h b/source/build/include/windows_inc.h index 0bcca5d82..302f6511c 100644 --- a/source/build/include/windows_inc.h +++ b/source/build/include/windows_inc.h @@ -13,6 +13,10 @@ # define WIN32_LEAN_AND_MEAN #endif +#ifndef NOMINMAX +# define NOMINMAX +#endif + #ifdef NEED_WINSOCK2_H # include # undef NEED_WINSOCK2_H