mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-29 16:23:36 +00:00
fix: improve some linker errors
This commit is contained in:
parent
e9ecef480d
commit
e51f77df7f
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue