1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[dxgi] Revert 538b132490967239e2d673659789ea9b76698ee3

This breaks things for 32-bit, but it really shouldn't. My hypothesis currently is that the .lib generated is bogus, but the exports in the actual DLL are correct.
This commit is contained in:
Joshua Ashton 2022-08-21 20:28:40 +00:00
parent a4261ddd14
commit be33ccbce9

View File

@ -2,9 +2,11 @@
//for some reason we need to specify __declspec(dllexport) for MinGW
#if defined(__WINE__) || !defined(_WIN32)
#define DLLEXPORT __attribute__((visibility("default")))
#define DLLEXPORT __attribute__((visibility("default")))
#elif defined(_MSC_VER)
#define DLLEXPORT
#else
#define DLLEXPORT
#define DLLEXPORT __declspec(dllexport)
#endif
#include "../util/com/com_guid.h"