1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxgi] Correct DLLEXPORT for native builds

This commit is contained in:
Joshua Ashton 2022-08-21 17:39:22 +00:00 committed by Philip Rebohle
parent 538b132490
commit f0f4258be3

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
//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