mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[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…
x
Reference in New Issue
Block a user