Skip to content

Commit

Permalink
[d3d8] Fix DLLEXPORT for native
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpyneDreams committed Jul 7, 2024
1 parent b01adf7 commit ff598b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/d3d8/d3d8_include.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ namespace d3d9 {
#endif

//for some reason we need to specify __declspec(dllexport) for MinGW
#if defined(__WINE__)
#define DLLEXPORT __attribute__((visibility("default")))
#if defined(__WINE__) || !defined(_WIN32)
#define DLLEXPORT __attribute__((visibility("default")))
#else
#define DLLEXPORT
#define DLLEXPORT
#endif


Expand Down

0 comments on commit ff598b8

Please sign in to comment.