summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
{