[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
1 changed files with 1 additions and 1 deletions

View File

@ -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