[d3d9] Correct DLLEXPORT for native builds

This commit is contained in:
Joshua Ashton 2022-08-21 17:37:29 +00:00 committed by Philip Rebohle
parent f0f4258be3
commit ad386305ff
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
#include <d3d9.h>
//for some reason we need to specify __declspec(dllexport) for MinGW
#if defined(__WINE__)
#if defined(__WINE__) || !defined(_WIN32)
#define DLLEXPORT __attribute__((visibility("default")))
#else
#define DLLEXPORT