MinGW64 has this prototype already.
authorGuenter Knauf <lists@gknw.net>
Fri, 23 Sep 2011 01:56:34 +0000 (03:56 +0200)
committerGuenter Knauf <lists@gknw.net>
Fri, 23 Sep 2011 01:56:34 +0000 (03:56 +0200)
docs/examples/ftpuploadresume.c

index 0560b54..55b8986 100644 (file)
@@ -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