Raymath dllexport fix if _WIN32 defined
- Added check for dllexport to compile if _WIN32 defined. - If not defined then use the original RMDEF.
This commit is contained in:
parent
42b52ecdb1
commit
a187361c6f
@ -60,7 +60,11 @@
|
||||
#endif
|
||||
|
||||
#ifdef RAYMATH_IMPLEMENTATION
|
||||
#define RMDEF __declspec(dllexport) extern inline // Provide external definition
|
||||
#if defined(_WIN32)
|
||||
#define RMDEF __declspec(dllexport) extern inline // Provide external definition
|
||||
#else
|
||||
#define RMDEF extern inline
|
||||
#endif
|
||||
#elif defined RAYMATH_HEADER_ONLY
|
||||
#define RMDEF static inline // Functions may be inlined, no external out-of-line definition
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user