summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2011-09-23 03:56:34 +0200
committerGuenter Knauf <lists@gknw.net>2011-09-23 03:56:34 +0200
commit87a45c79986383644f1bcdba8101293432c33926 (patch)
tree7cb38879936106717a1d4bd1059a58ca0ec94af5
parentdafa2fc9442825dc5256d65f5af7ccb6fbbb78fd (diff)
downloadcurl-87a45c79986383644f1bcdba8101293432c33926.tar.gz
MinGW64 has this prototype already.
-rw-r--r--docs/examples/ftpuploadresume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/ftpuploadresume.c b/docs/examples/ftpuploadresume.c
index 0560b54dc..55b8986c7 100644
--- a/docs/examples/ftpuploadresume.c
+++ b/docs/examples/ftpuploadresume.c
@@ -39,7 +39,7 @@
/* The MinGW headers are missing a few Win32 function definitions,
you shouldn't need this if you use VC++ */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) && !defined(__MINGW64__)
int __cdecl _snscanf(const char * input, size_t length, const char * format, ...);
#endif