i love c
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@372 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
e81bea87e2
commit
c37500418f
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ typedef void (*MwHandler5)(MwWidget handle, void* ptr);
|
||||||
typedef void (*MwUserHandler)(MwWidget handle, void* user_data, void* call_data);
|
typedef void (*MwUserHandler)(MwWidget handle, void* user_data, void* call_data);
|
||||||
typedef void (*MwErrorHandler)(int code, const char* message, void* user_data);
|
typedef void (*MwErrorHandler)(int code, const char* message, void* user_data);
|
||||||
|
|
||||||
#if __STDC_VERSION__ >= 199901L
|
#if __STDC_VERSION__ >= 199901L || __GNUC__ > 2
|
||||||
typedef unsigned long long MwOffset;
|
typedef unsigned long long MwOffset;
|
||||||
|
|
||||||
#define MwOffsetPrint "%llu"
|
#define MwOffsetPrint "%llu"
|
||||||
|
|
@ -52,7 +52,7 @@ typedef unsigned __int64 MwOffset;
|
||||||
#define MwOffsetPrint "%llu"
|
#define MwOffsetPrint "%llu"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif
|
#else
|
||||||
typedef unsigned long MwOffset; /* out of hope */
|
typedef unsigned long MwOffset; /* out of hope */
|
||||||
|
|
||||||
#define MwOffsetPrint "%lu"
|
#define MwOffsetPrint "%lu"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue