1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-27 13:21:11 +03:00

Add a portable define to print size_t.

This commit is contained in:
Andreas Schneider
2009-08-20 10:49:27 +02:00
parent 92db6f8c6d
commit 3eb21053d0

View File

@@ -32,8 +32,11 @@
#ifdef _MSC_VER #ifdef _MSC_VER
#define snprintf _snprintf #define snprintf _snprintf
/** Imitate define of inttypes.h */
#define PRIdS "Id"
#else #else
#include <unistd.h> #include <unistd.h>
#define PRIdS "zd"
#endif #endif
#include "config.h" #include "config.h"