diff options
Diffstat (limited to 'include/libssh')
-rw-r--r-- | include/libssh/priv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 4dbc445..de965f5 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -39,6 +39,14 @@ # define PRIdS "Id" # endif +# ifndef PRIu64 +# if __WORDSIZE == 64 +# define PRIu64 "lu" +# else +# define PRIu64 "llu" +# endif /* __WORDSIZE */ +# endif /* PRIu64 */ + # ifdef _MSC_VER # include <stdio.h> |