diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/raymath.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/raymath.h b/src/raymath.h index 19625f10..7a2f0929 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -77,6 +77,11 @@ #endif #endif + +#if defined(__cplusplus) +extern "C" { // Prevents name mangling of functions +#endif + //---------------------------------------------------------------------------------- // Defines and Macros //---------------------------------------------------------------------------------- @@ -2523,5 +2528,8 @@ RMAPI int QuaternionEquals(Quaternion p, Quaternion q) return result; } +#if defined(__cplusplus) +} +#endif #endif // RAYMATH_H |
