Skip to content

Commit a4584a8

Browse files
authored
Merge pull request #179 from RobLoach/raymath
Add RAYMATH_STATIC_INLINE for raymath.h usage
2 parents 88b2181 + 9a1c3f6 commit a4584a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/raymath.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
extern "C" {
99
#endif
1010
#ifndef RAYLIB_CPP_NO_MATH
11+
#ifndef RAYMATH_STATIC_INLINE
12+
#define RAYMATH_STATIC_INLINE
13+
#endif
1114
#pragma GCC diagnostic push
1215
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
1316
#include "raymath.h" // NOLINT

0 commit comments

Comments
 (0)