]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added #ifndef MK_XBUTTON3
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 3 Sep 2007 10:46:11 +0000 (10:46 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 3 Sep 2007 10:46:11 +0000 (10:46 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7555 d7cf8633-e32d-0410-b094-e92efae38249

vid_wgl.c

index 616067f9d2d24edcd75d029c330c506e207cc042..322eb6b9b403d7102016bdc87db2ed0aa928dd07 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -131,6 +131,8 @@ static HRESULT (WINAPI *pDirectInputCreate)(HINSTANCE hinst, DWORD dwVersion, LP
 #ifndef MK_XBUTTON1
    #define MK_XBUTTON1         0x0020
    #define MK_XBUTTON2         0x0040
+#endif
+#ifndef MK_XBUTTON3
 // LordHavoc: lets hope this allows more buttons in the future...
    #define MK_XBUTTON3         0x0080
    #define MK_XBUTTON4         0x0100