src/joystick/controller_type.h
changeset 12252 9a334644da3e
parent 12201 8bdc4d340419
child 12268 818dc37cace8
     1.1 --- a/src/joystick/controller_type.h	Fri Sep 28 14:01:40 2018 +0300
     1.2 +++ b/src/joystick/controller_type.h	Fri Sep 28 17:01:24 2018 +0300
     1.3 @@ -25,7 +25,6 @@
     1.4  #endif
     1.5  
     1.6  #ifndef __cplusplus
     1.7 -typedef enum { false, true } bool;
     1.8  #define inline SDL_INLINE
     1.9  #endif
    1.10  
    1.11 @@ -65,7 +64,7 @@
    1.12  	k_eControllertype_GenericMouse = 800,
    1.13  } EControllerType;
    1.14  
    1.15 -static inline bool BIsSteamController( EControllerType eType )
    1.16 +static inline SDL_bool BIsSteamController( EControllerType eType )
    1.17  {
    1.18  	return ( eType == k_eControllerType_SteamController || eType == k_eControllerType_SteamControllerV2 );
    1.19  }