mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-27 17:29:17 -05:00
Raymath dllexport fix
- Added __declspec(dllexport) to RMDEF in raymath.h. This allows them to be accessed when importing from raylib.dll.
This commit is contained in:
@ -60,7 +60,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RAYMATH_IMPLEMENTATION
|
#ifdef RAYMATH_IMPLEMENTATION
|
||||||
#define RMDEF extern inline // Provide external definition
|
#define RMDEF __declspec(dllexport) extern inline // Provide external definition
|
||||||
#elif defined RAYMATH_HEADER_ONLY
|
#elif defined RAYMATH_HEADER_ONLY
|
||||||
#define RMDEF static inline // Functions may be inlined, no external out-of-line definition
|
#define RMDEF static inline // Functions may be inlined, no external out-of-line definition
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user