diff options
| author | ChrisDill <[email protected]> | 2018-08-16 11:29:30 +0100 |
|---|---|---|
| committer | ChrisDill <[email protected]> | 2018-08-16 11:29:30 +0100 |
| commit | 42b52ecdb1b9e0a6bb625215e59e917dbe93dfe4 (patch) | |
| tree | f8b67e5e1b80e83139b4b34b82fdd124adc359d8 /src/raymath.h | |
| parent | a23feee6f3c3454543a876d1ea1cb5a9307c8341 (diff) | |
| download | raylib-42b52ecdb1b9e0a6bb625215e59e917dbe93dfe4.tar.gz raylib-42b52ecdb1b9e0a6bb625215e59e917dbe93dfe4.zip | |
Raymath dllexport fix
- Added __declspec(dllexport) to RMDEF in raymath.h. This allows them to be accessed when importing from raylib.dll.
Diffstat (limited to 'src/raymath.h')
| -rw-r--r-- | src/raymath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raymath.h b/src/raymath.h index c2dc1cf4..4cbf3f4d 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 |
