瀏覽代碼

Simplified RLAPI preprocessor branching

pull/2038/head
Ray 3 年之前
父節點
當前提交
94650f0def
共有 1 個檔案被更改,包括 3 行新增4 行删除
  1. +3
    -4
      src/raylib.h

+ 3
- 4
src/raylib.h 查看文件

@ -90,10 +90,9 @@
#define RLAPI __declspec(dllexport) // We are building the library as a Win32 shared library (.dll)
#elif defined(USE_LIBTYPE_SHARED)
#define RLAPI __declspec(dllimport) // We are using the library as a Win32 shared library (.dll)
#else
#define RLAPI // Functions defined as 'extern' by default (implicit specifiers)
#endif
#else
#endif
#ifndef RLAPI
#define RLAPI // Functions defined as 'extern' by default (implicit specifiers)
#endif

Loading…
取消
儲存