Quellcode durchsuchen

define XUSER_MAX_COUNT if not present

hondres vor 9 Jahren
Ursprung
Commit
3f64fd64eb
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  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
 {