浏览代码

video/openvr: define OPENVR_API_NODLL

.. so that S_API doesn't expand to __declspec(dllimport)
Ozkan Sezer 1 周之前
父节点
当前提交
976ba1e750
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/video/openvr/SDL_openvrvideo.h

+ 1 - 0
src/video/openvr/SDL_openvrvideo.h

@@ -13,6 +13,7 @@
 #pragma GCC diagnostic ignored "-Wunused-variable"
 #pragma GCC diagnostic ignored "-Wunused-variable"
 #endif
 #endif
 
 
+#define OPENVR_API_NODLL
 #define USE_SDL
 #define USE_SDL
 #include "openvr_capi.h"
 #include "openvr_capi.h"