hack for smartos
This commit is contained in:
parent
68692d9bca
commit
6df9fc597f
|
@ -253,8 +253,12 @@ typedef intptr_t switch_ssize_t;
|
|||
#endif
|
||||
|
||||
#ifndef SWITCH_INT64_T_FMT
|
||||
#ifdef __sun
|
||||
#define SWITCH_INT64_T_FMT "ld"
|
||||
#else
|
||||
#define SWITCH_INT64_T_FMT (sizeof (long) == 8 ? "ld" : "lld")
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef SWITCH_UINT64_T_FMT
|
||||
#define SWITCH_UINT64_T_FMT (sizeof (long) == 8 ? "lu" : "llu")
|
||||
|
|
Loading…
Reference in New Issue