[iortcw] 64/95: All: Fix compiling when KEY_WOW64_32KEY is missing from system headers

Simon McVittie smcv at debian.org
Fri Sep 8 10:42:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to tag 1.51
in repository iortcw.

commit 59630a6c1b833c1bc600bbf4bb1ce1c4d133790c
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Wed May 24 23:18:24 2017 -0400

    All: Fix compiling when KEY_WOW64_32KEY is missing from system headers
---
 MP/code/sys/sys_win32.c | 4 ++++
 SP/code/sys/sys_win32.c | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/MP/code/sys/sys_win32.c b/MP/code/sys/sys_win32.c
index 033adb3..e1e9f37 100644
--- a/MP/code/sys/sys_win32.c
+++ b/MP/code/sys/sys_win32.c
@@ -39,6 +39,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include <psapi.h>
 #include <float.h>
 
+#ifndef KEY_WOW64_32KEY
+#define KEY_WOW64_32KEY 0x0200
+#endif
+
 // Used to determine where to store user-specific files
 static char homePath[ MAX_OSPATH ] = { 0 };
 
diff --git a/SP/code/sys/sys_win32.c b/SP/code/sys/sys_win32.c
index 52ec543..0952907 100644
--- a/SP/code/sys/sys_win32.c
+++ b/SP/code/sys/sys_win32.c
@@ -39,6 +39,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include <psapi.h>
 #include <float.h>
 
+#ifndef KEY_WOW64_32KEY
+#define KEY_WOW64_32KEY 0x0200
+#endif
+
 // Used to determine where to store user-specific files
 static char homePath[ MAX_OSPATH ] = { 0 };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list