Explorar o código

Merge pull request #3236 from Hinsbart/xinput_define_

define XUSER_MAX_COUNT if not present
punto- %!s(int64=9) %!d(string=hai) anos
pai
achega
4ab6271f1a
Modificáronse 1 ficheiros con 3 adicións e 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
 {