mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-11 08:57:50 +00:00
refactor: move stubs out of App_Defines.h into wlinux/extraX64
This commit is contained in:
parent
81c9b9d021
commit
70c8a010e8
|
|
@ -104,13 +104,6 @@
|
|||
#define MINECRAFT_LANGUAGE_LATINAMERICANSPANISH 0x13
|
||||
#define MINECRAFT_LANGUAGE_GREEK 0x14
|
||||
|
||||
#if defined(__linux__)
|
||||
#define __debugbreak()
|
||||
#define __int32 int
|
||||
typedef unsigned long ULONG;
|
||||
inline void InitializeCriticalSectionAndSpinCount(CRITICAL_SECTION CriticalSection, ULONG SpinCount) {}
|
||||
#endif // __linux__
|
||||
|
||||
/* Match these
|
||||
|
||||
const int XC_LANGUAGE_ENGLISH =1;
|
||||
|
|
|
|||
|
|
@ -45,6 +45,10 @@ typedef long long LONGLONG;
|
|||
typedef size_t SIZE_T;
|
||||
typedef std::wstring LPWSTR;
|
||||
typedef unsigned char boolean; // java brainrot
|
||||
#define __debugbreak()
|
||||
#define __int32 int
|
||||
typedef unsigned long ULONG;
|
||||
typedef unsigned char byte;
|
||||
|
||||
// https://learn.microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-filetime
|
||||
typedef struct _FILETIME {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#define MULTITHREAD_ENABLE
|
||||
|
||||
typedef unsigned char byte;
|
||||
const int XUSER_INDEX_ANY = 255;
|
||||
const int XUSER_INDEX_FOCUS = 254;
|
||||
|
||||
|
|
@ -51,6 +50,10 @@ inline void InitializeCriticalSection(CRITICAL_SECTION* stubEnterCS)
|
|||
{
|
||||
}
|
||||
|
||||
inline void InitializeCriticalSectionAndSpinCount(CRITICAL_SECTION* CriticalSection, ULONG SpinCount)
|
||||
{
|
||||
}
|
||||
|
||||
inline void DeleteCriticalSection(CRITICAL_SECTION* stubEnterCS)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue