diff options
author | Jakub Jelen <jjelen@redhat.com> | 2018-12-19 12:45:15 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-01-09 10:14:56 +0100 |
commit | 78427a9264c911c91fc40e0fda78e61d57b44d68 (patch) | |
tree | b62340bf2f0e16f5cbd0cb44346317d42c01e374 /include/libssh/priv.h | |
parent | b3ae5e06ee625ab69cb8541548a7fda1ba807b07 (diff) | |
download | libssh-78427a9264c911c91fc40e0fda78e61d57b44d68.tar.gz libssh-78427a9264c911c91fc40e0fda78e61d57b44d68.tar.xz libssh-78427a9264c911c91fc40e0fda78e61d57b44d68.zip |
priv: Provide PRIu32 for Visual Studio
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r-- | include/libssh/priv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index de7ffdf2..8f1cd84c 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -78,6 +78,10 @@ char *strndup(const char *s, size_t n); # endif /* __WORDSIZE */ # endif /* PRIu64 */ +# ifndef PRIu32 +# define PRIu32 "u" +# endif /* PRIu32 */ + # ifdef _MSC_VER # include <stdio.h> # include <stdarg.h> /* va_copy define check */ |