msvc is pain

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@438 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-20 22:17:21 +00:00
parent a18ba68942
commit 62bf7c04d6

View File

@@ -39,11 +39,11 @@ typedef void (*MwErrorHandler)(int code, const char* message, void* user_data);
typedef void (*MwHandlerExecute)(MwWidget handle, const char* name, void* out, va_list args);
#if __STDC_VERSION__ >= 199901L || __GNUC__ > 2
typedef unsigned long long MwOffset;
typedef long long MwOffset;
#elif defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)
typedef unsigned __int64 MwOffset;
typedef __int64 MwOffset;
#else
typedef unsigned long MwOffset; /* out of hope */
typedef long MwOffset; /* out of hope */
#endif
typedef unsigned char MwBool;