浏览代码

Merge pull request #625 from ChrisDill/master

Raymath dllexport fix
pull/628/head
Ray 6 年前
committed by GitHub
父节点
当前提交
eef44fd930
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. +7
    -1
      src/raymath.h

+ 7
- 1
src/raymath.h 查看文件

@ -60,7 +60,13 @@
#endif
#ifdef RAYMATH_IMPLEMENTATION
#define RMDEF extern inline // Provide external definition
#if defined(_WIN32) && defined(BUILD_LIBTYPE_SHARED)
#define RMDEF __declspec(dllexport) extern inline // We are building raylib as a Win32 shared library (.dll).
#elif defined(_WIN32) && defined(USE_LIBTYPE_SHARED)
#define RLAPI __declspec(dllimport) // We are using raylib as a Win32 shared library (.dll)
#else
#define RMDEF extern inline // Provide external definition
#endif
#elif defined RAYMATH_HEADER_ONLY
#define RMDEF static inline // Functions may be inlined, no external out-of-line definition
#else

正在加载...
取消
保存