diff options
author | punto- <ariel@godotengine.org> | 2016-01-04 21:24:55 -0300 |
---|---|---|
committer | punto- <ariel@godotengine.org> | 2016-01-04 21:24:55 -0300 |
commit | 4ab6271f1acc8a13dc03ec9865e6102b45d873c3 (patch) | |
tree | a724dffa0465750e36bd267fcd8085e1ed66664a | |
parent | 3d0bd1a3f38d39c62dd3471d07b7bcb40acfc5e7 (diff) | |
parent | 3f64fd64eb6acf57c98e285df3ebf05678140040 (diff) |
Merge pull request #3236 from Hinsbart/xinput_define_
define XUSER_MAX_COUNT if not present
-rw-r--r-- | platform/windows/joystick.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/windows/joystick.h b/platform/windows/joystick.h index ad62059a73..332e86fbb8 100644 --- a/platform/windows/joystick.h +++ b/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 { |