mirror of https://github.com/doitsujin/dxvk
[dxgi] Correct DLLEXPORT for native builds
This commit is contained in:
parent
538b132490
commit
f0f4258be3
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
//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…
Reference in New Issue