Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2022-08-21 20:37:29 +0300
committerJoshua Ashton <joshua@froggi.es>2022-08-21 22:26:54 +0300
commit705f26a978737a680e023a0be9645f520caedb2c (patch)
treedf82229b2d2300465802c2d47f1349866457a4ad
parenteb688a98844d6a9068a348e988b46d5333c4473b (diff)
[d3d9] Correct DLLEXPORT for native buildsnative-pr-dllexport
-rw-r--r--src/d3d9/d3d9_include.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d3d9/d3d9_include.h b/src/d3d9/d3d9_include.h
index 2b933aec..1f893475 100644
--- a/src/d3d9/d3d9_include.h
+++ b/src/d3d9/d3d9_include.h
@@ -11,7 +11,7 @@
#include <d3d9.h>
//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