Get rid of MSVC's __int64

Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
This commit is contained in:
void_17
2026-03-02 15:53:32 +07:00
parent d6ec138710
commit d63f79325f
308 changed files with 5371 additions and 5379 deletions

View File

@@ -20,16 +20,16 @@ public:
ArrayCopyFunctionDeclaration(Biome *)
ArrayCopyFunctionDeclaration(int)
static __int64 nanoTime();
static __int64 currentTimeMillis();
static __int64 currentRealTimeMillis(); // 4J Added to get real-world time for timestamps in saves
static int64_t nanoTime();
static int64_t currentTimeMillis();
static int64_t currentRealTimeMillis(); // 4J Added to get real-world time for timestamps in saves
static void ReverseUSHORT(unsigned short *pusVal);
static void ReverseSHORT(short *psVal);
static void ReverseULONG(unsigned long *pulVal);
static void ReverseULONG(unsigned int *pulVal);
static void ReverseINT(int *piVal);
static void ReverseULONGLONG(__int64 *pullVal);
static void ReverseULONGLONG(int64_t *pullVal);
static void ReverseWCHARA(WCHAR *pwch,int iLen);
};