diff options
| author | Andreas Schneider <asn@cryptomilk.org> | 2011-04-15 18:55:30 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2011-04-15 18:56:52 +0200 |
| commit | a6c53d51de3601058d990d2f2d99649760cd3029 (patch) | |
| tree | dfc30c401d7dbec725099d99f2244a25a5620b8f /include/libssh | |
| parent | e7e4f261a6182f9b26484f3d97c3f21573d04bd6 (diff) | |
| download | libssh-a6c53d51de3601058d990d2f2d99649760cd3029.tar.gz libssh-a6c53d51de3601058d990d2f2d99649760cd3029.tar.xz libssh-a6c53d51de3601058d990d2f2d99649760cd3029.zip | |
scp: More correct fix for snprintf 64-bit format.
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 4dbc4450..de965f51 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> |
