diff options
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r-- | include/libssh/priv.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 7dcbcd49..2a1ddb44 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -82,6 +82,18 @@ char *strndup(const char *s, size_t n); # define PRIu32 "u" # endif /* PRIu32 */ +# ifndef PRIx64 +# if __WORDSIZE == 64 +# define PRIx64 "lx" +# else +# define PRIx64 "llx" +# endif /* __WORDSIZE */ +# endif /* PRIx64 */ + +# ifndef PRIx32 +# define PRIx32 "x" +# endif /* PRIx32 */ + # ifdef _MSC_VER # include <stdio.h> # include <stdarg.h> /* va_copy define check */ |