fix: improve some linker errors

This commit is contained in:
Tropical 2026-03-03 20:33:38 -06:00
parent e9ecef480d
commit e51f77df7f
3 changed files with 14 additions and 3 deletions

View file

@ -36,7 +36,7 @@ RADEXPFUNC inline void RADEXPLINK IggyPlayerDrawTilesEnd(Iggy *f) {
STUBBED;
}
int thing = 0;
static int thing = 0;
RADEXPFUNC inline Iggy * RADEXPLINK IggyPlayerCreateFromMemory(
void const * data,
@ -51,7 +51,7 @@ RADEXPFUNC inline void RADEXPLINK IggyPlayerInitializeAndTickRS(Iggy *player) {
STUBBED;
}
IggyProperties properties;
static IggyProperties properties;
RADEXPFUNC inline IggyProperties * RADEXPLINK IggyPlayerProperties(Iggy *player) {
STUBBED;

View file

@ -228,6 +228,17 @@ DECLARE_HANDLE(HINSTANCE);
typedef HINSTANCE HMODULE;
#define _HRESULT_TYPEDEF_(_sc) _sc
#define FAILED(Status) ((HRESULT)(Status)<0)
#define MAKE_HRESULT(sev,fac,code) \
((HRESULT) (((unsigned int)(sev)<<31) | ((unsigned int)(fac)<<16) | ((unsigned int)(code))) )
#define MAKE_SCODE(sev,fac,code) \
((SCODE) (((unsigned int)(sev)<<31) | ((unsigned int)(fac)<<16) | ((unsigned int)(code))) )
#define E_FAIL _HRESULT_TYPEDEF_(0x80004005L)
#define E_ABORT _HRESULT_TYPEDEF_(0x80004004L)
#define E_NOINTERFACE _HRESULT_TYPEDEF_(0x80004002L)
typedef pthread_mutex_t RTL_CRITICAL_SECTION;
typedef pthread_mutex_t* PRTL_CRITICAL_SECTION;

View file

@ -20,7 +20,7 @@ typedef unsigned int uint;
typedef unsigned long long int uint64;
typedef long long int int64;
#define FORCEINLINE
#define FORCEINLINE inline
// Content creation/open flags
#define XCONTENTFLAG_NONE 0x00