aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libxmu/cl-build.patch
blob: d67d4a074c78aa5674afc7c8f9055b1587929ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/EditresCom.c b/src/EditresCom.c
index 716a2b3c6..d570e19e4 100644
--- a/src/EditresCom.c
+++ b/src/EditresCom.c
@@ -34,6 +34,9 @@ in this Software without prior written authorization from The Open Group.
 #include <X11/IntrinsicP.h>	/* To get into the composite and core widget
 				   structures. */
 #include <X11/ObjectP.h>	/* For XtIs<Classname> macros. */
+#ifdef _MSC_VER
+#define XTSTRINGDEFINES // Otherwise XtRImmediate is not a constant expression
+#endif
 #include <X11/StringDefs.h>	/* for XtRString. */
 #include <X11/ShellP.h>		/* for Application Shell Widget class. */