From 3f64fd64eb6acf57c98e285df3ebf05678140040 Mon Sep 17 00:00:00 2001 From: hondres Date: Tue, 5 Jan 2016 01:16:10 +0100 Subject: [PATCH] define XUSER_MAX_COUNT if not present --- platform/windows/joystick.h | 3 +++ 1 file changed, 3 insertions(+) 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 {