Ver código fonte

define XUSER_MAX_COUNT if not present

hondres 9 anos atrás
pai
commit
3f64fd64eb
1 arquivos alterados com 3 adições e 0 exclusões
  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
 {