소스 검색

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"
 #endif
 
+#define OPENVR_API_NODLL
 #define USE_SDL
 #include "openvr_capi.h"