Browse Source

Merge pull request #3236 from Hinsbart/xinput_define_

define XUSER_MAX_COUNT if not present
punto- 9 years ago
parent
commit
4ab6271f1a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      platform/windows/joystick.h

+ 3 - 0
platform/windows/joystick.h

@@ -44,6 +44,9 @@ if(x != NULL)           \
 }
 }
 #endif
 #endif
 
 
+#ifndef XUSER_MAX_COUNT
+#define XUSER_MAX_COUNT 4
+#endif
 
 
 class joystick_windows
 class joystick_windows
 {
 {