fix linux builds

This commit is contained in:
Zack Buhman 2026-03-23 02:50:25 -05:00
parent 1a4352f40b
commit a93fa23cc4
2 changed files with 16 additions and 11 deletions

View File

@ -1,5 +1,6 @@
#pragma once
#ifdef _WIN32
#ifdef _MSC_VER
#define EXPORT __declspec(dllexport)
#define DECL __cdecl
@ -7,3 +8,7 @@
#define EXPORT __attribute__((dllexport))
#define DECL __attribute__((__cdecl__))
#endif
#else
#define EXPORT
#define DECL
#endif