浏览代码

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
 {