]> granicus.if.org Git - curl/commitdiff
removed old version checks
authorDaniel Stenberg <daniel@haxx.se>
Mon, 8 Dec 2003 14:14:26 +0000 (14:14 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Dec 2003 14:14:26 +0000 (14:14 +0000)
docs/examples/fopen.c
docs/examples/post-callback.c

index 272c1ad87815a3482db67a636a3cea5666feb337..eb5501628e6d8dc35ab1b799a976b08de8c493fa 100644 (file)
 
 #include <curl/curl.h>
 
-#if (LIBCURL_VERSION_NUM < 0x070907)
-#error "too old libcurl version, get the latest!"
-#endif
-
-
 enum fcurl_type_e { CFTYPE_NONE=0, CFTYPE_FILE=1, CFTYPE_CURL=2 };
 
 struct fcurl_data
index eda878677ef8276a276a0d7c25ca0dc19b72a5a8..76d1e1ba55e6d8d7c5bfc7c05e7ba262f4741088 100644 (file)
  * An example source code that issues a HTTP POST and we provide the actual
  * data through a read callback.
  *
- * Please be aware of the fact that the size of the posted data MUST be
- * specified before the transfer is being made (with CURLOPT_POSTFIELDSIZE).
- * This requirement will change when libcurl starts supporting chunked-encoded
- * sends.
- *
- * This example requires libcurl 7.9.6 or later.
  */
 #include <stdio.h>
 #include <string.h>
 #include <curl/curl.h>
 
-#if LIBCURL_VERSION_NUM < 0x070906
-#error this example source requires libcurl 7.9.6 or newer
-#endif
-
 char data[]="this is what we post to the silly web server";
 
 struct WriteThis {