Browse Source

joystick: define inline to SDL_INLINE

Ryan C. Gordon 6 years ago
parent
commit
941f8ecffd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/joystick/controller_type.h

+ 1 - 1
src/joystick/controller_type.h

@@ -26,7 +26,7 @@
 
 #ifndef __cplusplus
 typedef enum { false, true } bool;
-#define inline
+#define inline SDL_INLINE
 #endif
 
 //-----------------------------------------------------------------------------