Skip to content

Commit

Permalink
mingw build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kspalaiologos committed May 9, 2022
1 parent 2dea45c commit 304f5d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ static void write_neutral_s32(u8 * data, s32 value) {
data[3] = (value >> 24) & 0xFF;
}

#define PUBLIC_API
#ifdef __MINGW32__
#define PUBLIC_API __declspec(dllexport)
#else
#define PUBLIC_API
#endif

#endif

0 comments on commit 304f5d8

Please sign in to comment.