1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-06-05 01:42:10 +03:00

priv: Provide PRIu32 for Visual Studio

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen 2018-12-19 12:45:15 +01:00 committed by Andreas Schneider
parent b3ae5e06ee
commit 78427a9264

View File

@ -78,6 +78,10 @@ char *strndup(const char *s, size_t n);
# endif /* __WORDSIZE */ # endif /* __WORDSIZE */
# endif /* PRIu64 */ # endif /* PRIu64 */
# ifndef PRIu32
# define PRIu32 "u"
# endif /* PRIu32 */
# ifdef _MSC_VER # ifdef _MSC_VER
# include <stdio.h> # include <stdio.h>
# include <stdarg.h> /* va_copy define check */ # include <stdarg.h> /* va_copy define check */