mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-07 16:54:14 +01:00
[dxgi] Don't declspec dllexport on MinGW builds
Fixes ordinal exporting on MinGW on 32-bit builds. Mirrors this D3D9 commit here: 904d3e6c9014bff7aa0843630b009c51879a1d06
This commit is contained in:
parent
4a113c39d3
commit
538b132490
@ -2,11 +2,9 @@
|
|||||||
|
|
||||||
//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__)
|
||||||
#define DLLEXPORT __attribute__((visibility("default")))
|
#define DLLEXPORT __attribute__((visibility("default")))
|
||||||
#elif defined(_MSC_VER)
|
|
||||||
#define DLLEXPORT
|
|
||||||
#else
|
#else
|
||||||
#define DLLEXPORT __declspec(dllexport)
|
#define DLLEXPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../util/com/com_guid.h"
|
#include "../util/com/com_guid.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user