builtin: add V64_PRINTFORMAT (part 1)
parent
1ab830da4b
commit
2700fd712b
|
@ -27,6 +27,19 @@ const (
|
|||
#endif
|
||||
|
||||
#define OPTION_CAST(x) (x)
|
||||
|
||||
#ifndef V64_PRINTFORMAT
|
||||
#ifdef PRIx64
|
||||
#define V64_PRINTFORMAT "0x%"PRIx64
|
||||
#elif defined(__WIN32__)
|
||||
#define V64_PRINTFORMAT "0x%I64x"
|
||||
#elif defined(__LINUX__) && defined(__LP64__)
|
||||
#define V64_PRINTFORMAT "0x%lx"
|
||||
#else
|
||||
#define V64_PRINTFORMAT "0x%llx"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
'
|
||||
c_headers = '
|
||||
|
||||
|
|
Loading…
Reference in New Issue