aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-07-24 10:10:00 +0200
committerAndreas Schneider <asn@cynapses.org>2010-07-24 10:10:33 +0200
commit9973de535e3760d0acfe2e9232fc5e799b95a0d8 (patch)
tree757da9a40c4b0dc6505233378e5976a824c04242
parenta7d9f4addd2e12e4b827cb2a262845503041699f (diff)
downloadlibssh-9973de535e3760d0acfe2e9232fc5e799b95a0d8.tar.gz
libssh-9973de535e3760d0acfe2e9232fc5e799b95a0d8.tar.xz
libssh-9973de535e3760d0acfe2e9232fc5e799b95a0d8.zip
priv: Fixed a mingw build bug.
-rw-r--r--include/libssh/priv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 9b6e85aa..dd3546d6 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -34,6 +34,9 @@
#ifdef _WIN32
+/* Imitate define of inttypes.h */
+#define PRIdS "Id"
+
# ifdef _MSC_VER
# include <stdio.h>
@@ -44,9 +47,6 @@
# undef strdup
# define strdup _strdup
-/* Imitate define of inttypes.h */
-# define PRIdS "Id"
-
# define strcasecmp _stricmp
# define strncasecmp _strnicmp
# define strtoull _strtoui64