summaryrefslogtreecommitdiffstats
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-07-24 21:36:00 +0200
committerAndreas Schneider <asn@cynapses.org>2010-07-24 21:36:00 +0200
commit5f99fed07c8dbd6fe93b3bf1f11a5e3fd01e325a (patch)
tree645ae15195b46e96b437e58fc5d8c2e20ad2262f /include/libssh
parent9973de535e3760d0acfe2e9232fc5e799b95a0d8 (diff)
downloadlibssh-5f99fed07c8dbd6fe93b3bf1f11a5e3fd01e325a.tar.gz
libssh-5f99fed07c8dbd6fe93b3bf1f11a5e3fd01e325a.tar.xz
libssh-5f99fed07c8dbd6fe93b3bf1f11a5e3fd01e325a.zip
build: Fixed some mingw warnings.
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/priv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index dd3546d6..63c99acc 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -35,7 +35,9 @@
#ifdef _WIN32
/* Imitate define of inttypes.h */
-#define PRIdS "Id"
+# ifndef PRIdS
+# define PRIdS "Id"
+# endif
# ifdef _MSC_VER
# include <stdio.h>