summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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