summaryrefslogtreecommitdiffhomepage
path: root/patches/xwin/no_wow64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/xwin/no_wow64.patch')
-rw-r--r--patches/xwin/no_wow64.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/xwin/no_wow64.patch b/patches/xwin/no_wow64.patch
new file mode 100644
index 00000000..462e105f
--- /dev/null
+++ b/patches/xwin/no_wow64.patch
@@ -0,0 +1,24 @@
+--- xorg-server-1.20.1.orig/hw/xwin/winos.c 2018-08-07 18:31:04.000000000 +0200
++++ xorg-server-1.20.1/hw/xwin/winos.c 2018-08-20 20:47:53.954276769 +0200
+@@ -36,6 +36,7 @@
+ static const char*
+ IsWow64(void)
+ {
++#ifndef __midipix__
+ #ifdef __x86_64__
+ return " (64-bit)";
+ #else
+@@ -51,6 +52,13 @@
+ /* OS doesn't support IsWow64Process() */
+ return "";
+ #endif
++#else
++#ifdef __NT64
++ return " (64-bit)";
++#else
++ return " (32-bit)";
++#endif
++#endif
+ }
+
+ /*