[gjs/gnome-3-34] NMake: Define NOMINMAX during the build
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/gnome-3-34] NMake: Define NOMINMAX during the build
- Date: Thu, 13 Feb 2020 04:06:02 +0000 (UTC)
commit fef1e06a6f3e0f1dcb1ba49d31c4311b66f244ef
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Feb 10 14:43:38 2020 +0800
NMake: Define NOMINMAX during the build
This is so that we ensure that we use the correct min() and max() defininitions
and so do not confuse the compiler on the implementation to use.
win32/config-msvc.mak | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/win32/config-msvc.mak b/win32/config-msvc.mak
index a7aeb7e0..1ea0cbdf 100644
--- a/win32/config-msvc.mak
+++ b/win32/config-msvc.mak
@@ -46,6 +46,7 @@ GJS_BASE_CFLAGS = \
/Ivs$(VSVER)\$(CFG)\$(PLAT)\libgjs \
/FImsvc_recommended_pragmas.h \
/FIjs\RequiredDefines.h \
+ /DNOMINMAX \
/Dssize_t=gssize \
/wd4530 \
/wd4099 \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]