From 4507ee7b951dc192842b4eda9061fae4908bd0e1 Mon Sep 17 00:00:00 2001
From: havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Mon, 3 Sep 2007 10:46:11 +0000
Subject: [PATCH] added #ifndef MK_XBUTTON3

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7555 d7cf8633-e32d-0410-b094-e92efae38249
---
 vid_wgl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vid_wgl.c b/vid_wgl.c
index 616067f9..322eb6b9 100644
--- 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
-- 
2.39.5