aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/raymath.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/raymath.h b/src/raymath.h
index 22adfe52..d49f3622 100644
--- a/src/raymath.h
+++ b/src/raymath.h
@@ -64,7 +64,11 @@
#elif defined RAYMATH_HEADER_ONLY
#define RMDEF static inline // Functions may be inlined, no external out-of-line definition
#else
- #define RMDEF inline // Functions may be inlined or external definition used
+ #ifdef __TINYC__
+ #define RMDEF static inline // plain inline not supported by tinycc (See issue #435)
+ #else
+ #define RMDEF inline // Functions may be inlined or external definition used
+ #endif
#endif