summaryrefslogtreecommitdiff
path: root/docs/examples/ftpuploadresume.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-31 12:12:35 +0000
committerYang Tse <yangsita@gmail.com>2008-08-31 12:12:35 +0000
commit79ffbf7fe1af3fb3d6a4a1ad31eeaaecb1dbd8e6 (patch)
treef32c0a37b801eba76087d9899cf0885d7edaf8e4 /docs/examples/ftpuploadresume.c
parent4f0d286d2c24fd0104e4769f190277b39dc50474 (diff)
downloadcurl-79ffbf7fe1af3fb3d6a4a1ad31eeaaecb1dbd8e6.tar.gz
MSVC adjustment
Diffstat (limited to 'docs/examples/ftpuploadresume.c')
-rw-r--r--docs/examples/ftpuploadresume.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/examples/ftpuploadresume.c b/docs/examples/ftpuploadresume.c
index d8d1c5b88..362711c33 100644
--- a/docs/examples/ftpuploadresume.c
+++ b/docs/examples/ftpuploadresume.c
@@ -21,6 +21,9 @@
#include <curl/curl.h>
+#if defined(_MSC_VER) && (_MSC_VER < 1300)
+# error _snscanf requires MSVC 7.0 or later.
+#endif
/* The MinGW headers are missing a few Win32 function definitions,
you shouldn't need this if you use VC++ */