defs.h | defs.h | |||
---|---|---|---|---|
skipping to change at line 219 | skipping to change at line 219 | |||
/* 2^64 and -2^63 have same length */ | /* 2^64 and -2^63 have same length */ | |||
#define HXSIZEOF_Z64 sizeof("18446744073709551616") | #define HXSIZEOF_Z64 sizeof("18446744073709551616") | |||
#define __HX_STRINGIFY_EXPAND(s) #s | #define __HX_STRINGIFY_EXPAND(s) #s | |||
#define HX_STRINGIFY(s) __HX_STRINGIFY_EXPAND(s) | #define HX_STRINGIFY(s) __HX_STRINGIFY_EXPAND(s) | |||
#ifndef container_of | #ifndef container_of | |||
# define container_of(v, s, m) containerof((v), s, m) | # define container_of(v, s, m) containerof((v), s, m) | |||
#endif | #endif | |||
#ifdef _WIN32 | ||||
/* | ||||
* Sufficiently old versions of the VC runtime do not even support % | ||||
ll. | ||||
*/ | ||||
# define HX_LONGLONG_FMT "I64" | ||||
# define HX_SIZET_FMT "I" | ||||
#else | ||||
# define HX_LONGLONG_FMT "ll" | ||||
# define HX_SIZET_FMT "z" | ||||
#endif | ||||
#endif /* _LIBHX_DEFS_H */ | #endif /* _LIBHX_DEFS_H */ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 12 lines changed or added | |||