(svn r154) -Fix: some people while using MSVC don't have VK_OEM_3 defined? Or it could be Win2000/XP only
authordarkvater
Fri, 03 Sep 2004 20:04:32 +0000
changeset 153 3dbe2cfd7b3c
parent 152 c3964b43943e
child 154 4bece94b325c
(svn r154) -Fix: some people while using MSVC don't have VK_OEM_3 defined? Or it could be Win2000/XP only
win32.c
--- a/win32.c	Fri Sep 03 19:59:05 2004 +0000
+++ b/win32.c	Fri Sep 03 20:04:32 2004 +0000
@@ -100,6 +100,10 @@
 #define AS(x,z) {x,0,z}
 #define AM(x,y,z,w) {x,y-x,z}
 
+#ifndef	VK_OEM_3
+#define VK_OEM_3 0xC0
+#endif
+
 static const VkMapping _vk_mapping[] = {
 	// Pageup stuff + up/down
 	AM(VK_PRIOR,VK_DOWN, WKC_PAGEUP, WKC_DOWN),