scp: More correct fix for snprintf 64-bit format.

This commit is contained in:
Andreas Schneider
2011-04-15 18:55:30 +02:00
parent e7e4f261a6
commit a6c53d51de
2 changed files with 10 additions and 2 deletions

View File

@@ -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>