[ioquake3] 41/136: Fix compiling when KEY_WOW64_32KEY is missing from system headers

Simon McVittie smcv at debian.org
Thu Jun 15 09:09:05 UTC 2017


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

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit fbada2caf69d635de139b242b6b7449bafdd93e3
Author: Zack Middleton <zack at cloemail.com>
Date:   Wed May 24 08:44:21 2017 -0500

    Fix compiling when KEY_WOW64_32KEY is missing from system headers
---
 code/sys/sys_win32.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/code/sys/sys_win32.c b/code/sys/sys_win32.c
index 0faec19..2b083ff 100644
--- a/code/sys/sys_win32.c
+++ b/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/ioquake3.git



More information about the Pkg-games-commits mailing list