Explorar el Código

define XUSER_MAX_COUNT if not present

hondres hace 9 años
padre
commit
3f64fd64eb
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      platform/windows/joystick.h

+ 3 - 0
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
 {