compilers

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@371 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-16 17:21:09 +00:00
parent 9813a776dd
commit e81bea87e2

View File

@@ -39,10 +39,23 @@ typedef void (*MwErrorHandler)(int code, const char* message, void* user_data);
#if __STDC_VERSION__ >= 199901L
typedef unsigned long long MwOffset;
#define MwOffsetPrint "%llu"
#elif defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)
typedef unsigned __int64 MwOffset;
#if defined(_MSC_VER)
#define MwOffsetPrint "%I64u"
#elif defined(__BORLANDC__)
#define MwOffsetPrint "%I64llu"
#elif defined(__WATCOMC__)
#define MwOffsetPrint "%llu"
#endif
#elif
typedef unsigned long MwOffset; /* out of hope */
#define MwOffsetPrint "%lu"
#endif
#include <Mw/LowLevel.h>