mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-13 19:29:14 +01:00
[d3d9] Correct DLLEXPORT for native builds
This commit is contained in:
parent
f0f4258be3
commit
ad386305ff
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user