diff options
Diffstat (limited to 'vcpkg/ports/libxmu/cl-build.patch')
| -rw-r--r-- | vcpkg/ports/libxmu/cl-build.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/libxmu/cl-build.patch b/vcpkg/ports/libxmu/cl-build.patch new file mode 100644 index 0000000..d67d4a0 --- /dev/null +++ b/vcpkg/ports/libxmu/cl-build.patch @@ -0,0 +1,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. */
+
|