浏览代码

Raymath dllexport fix

- Added __declspec(dllexport) to RMDEF in raymath.h. This allows them to be accessed when importing from raylib.dll.
pull/625/head
ChrisDill 6 年前
父节点
当前提交
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

正在加载...
取消
保存