mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 09:41:28 +08:00
6f7ffeb18f
* [libice] replace macros with typedefs * [libx11] fix dl linkage on linux and cleanup the cmake wrapper. * [libxxf86vm] add port * [libxtst] add port * [libxt] add port * [libxmu] add port * [libxaw] add port * bump port version * v db * fix libxpm and maybe cross libxt * malloc returns null for cross builds * fix typo * fix stuff * v db * fix stuff ? * WIP commit * libxt cross fix * add todo * fix libxaw * xcb add some fixes. * fix todos * fix arm ? * fix path * bump some versions * shorten comment * format manifest * v db * fix stuff * ci baseline * v db * adjust libx11 wrapper again * v db * add license * remove doubled entry from v db * v db * libxmu remove global variable. * correctly split unistd.patch and apply it * disable thread safe init in libx11 on windows * v db * libx11 append options correctly. * v db * still not correct. * v db
15 lines
617 B
Diff
15 lines
617 B
Diff
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. */
|
|
|