2
0
Эх сурвалжийг харах

Raymath dllexport fix

- Added __declspec(dllexport) to RMDEF in raymath.h. This allows them to be accessed when importing from raylib.dll.
ChrisDill 7 жил өмнө
parent
commit
42b52ecdb1
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/raymath.h

+ 1 - 1
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