Ver código fonte

video/openvr: define OPENVR_API_NODLL

.. so that S_API doesn't expand to __declspec(dllimport)
Ozkan Sezer 1 semana atrás
pai
commit
976ba1e750
1 arquivos alterados com 1 adições e 0 exclusões
  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"