mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 14:40:49 +00:00
compilers
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@371 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user