mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-14 22:29:15 +01:00
[d3d9] Correct DLLEXPORT for native builds
This commit is contained in:
parent
f0f4258be3
commit
ad386305ff
@ -11,7 +11,7 @@
|
|||||||
#include <d3d9.h>
|
#include <d3d9.h>
|
||||||
|
|
||||||
//for some reason we need to specify __declspec(dllexport) for MinGW
|
//for some reason we need to specify __declspec(dllexport) for MinGW
|
||||||
#if defined(__WINE__)
|
#if defined(__WINE__) || !defined(_WIN32)
|
||||||
#define DLLEXPORT __attribute__((visibility("default")))
|
#define DLLEXPORT __attribute__((visibility("default")))
|
||||||
#else
|
#else
|
||||||
#define DLLEXPORT
|
#define DLLEXPORT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user