summaryrefslogtreecommitdiff
path: root/platform/windows/joystick.h
diff options
context:
space:
mode:
authorhondres <liu.gam3@gmail.com>2016-01-05 01:16:10 +0100
committerhondres <liu.gam3@gmail.com>2016-01-05 01:16:10 +0100
commit3f64fd64eb6acf57c98e285df3ebf05678140040 (patch)
treea724dffa0465750e36bd267fcd8085e1ed66664a /platform/windows/joystick.h
parent3d0bd1a3f38d39c62dd3471d07b7bcb40acfc5e7 (diff)
define XUSER_MAX_COUNT if not present
Diffstat (limited to 'platform/windows/joystick.h')
-rw-r--r--platform/windows/joystick.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/windows/joystick.h b/platform/windows/joystick.h
index ad62059a73..332e86fbb8 100644
--- a/platform/windows/joystick.h
+++ b/platform/windows/joystick.h
@@ -44,6 +44,9 @@ if(x != NULL) \
}
#endif
+#ifndef XUSER_MAX_COUNT
+#define XUSER_MAX_COUNT 4
+#endif
class joystick_windows
{