From 42b52ecdb1b9e0a6bb625215e59e917dbe93dfe4 Mon Sep 17 00:00:00 2001 From: ChrisDill Date: Thu, 16 Aug 2018 11:29:30 +0100 Subject: [PATCH] Raymath dllexport fix - Added __declspec(dllexport) to RMDEF in raymath.h. This allows them to be accessed when importing from raylib.dll. --- src/raymath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raymath.h b/src/raymath.h index c2dc1cf44..4cbf3f4d5 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -60,7 +60,7 @@ #endif #ifdef RAYMATH_IMPLEMENTATION - #define RMDEF extern inline // Provide external definition + #define RMDEF __declspec(dllexport) extern inline // Provide external definition #elif defined RAYMATH_HEADER_ONLY #define RMDEF static inline // Functions may be inlined, no external out-of-line definition #else