Commit 941f8ecffd7f6616bc18568c9a0bbbe122ea8e1f

Ryan C. Gordon 2018-08-10T14:10:47

joystick: define inline to SDL_INLINE

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/joystick/controller_type.h b/src/joystick/controller_type.h
index d200d83..b5a5193 100644
--- a/src/joystick/controller_type.h
+++ b/src/joystick/controller_type.h
@@ -26,7 +26,7 @@
 
 #ifndef __cplusplus
 typedef enum { false, true } bool;
-#define inline
+#define inline SDL_INLINE
 #endif
 
 //-----------------------------------------------------------------------------