Переглянути джерело

define XUSER_MAX_COUNT if not present

hondres 9 роки тому
батько
коміт
3f64fd64eb
1 змінених файлів з 3 додано та 0 видалено
  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
 {