]> granicus.if.org Git - curl/commitdiff
CURL_VERSION_CONV is returned by curl_version_info if libcurl has been built
authorDaniel Stenberg <daniel@haxx.se>
Wed, 19 Apr 2006 09:03:21 +0000 (09:03 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 19 Apr 2006 09:03:21 +0000 (09:03 +0000)
to allow/support character conversions

include/curl/curl.h
lib/version.c

index 87639fec4f20b0f531dbfb8fc6220ea2904e1e0f..9c392cce68f0f9898ce22f5ab2375e95596a6d7d 100644 (file)
@@ -1474,6 +1474,8 @@ typedef struct {
 #define CURL_VERSION_LARGEFILE (1<<9)  /* supports files bigger than 2GB */
 #define CURL_VERSION_IDN       (1<<10) /* International Domain Names support */
 #define CURL_VERSION_SSPI      (1<<11) /* SSPI is supported */
+#define CURL_VERSION_CONV      (1<<12) /* character conversions are
+                                          supported */
 
 /*
  * NAME curl_version_info()
index 53e2b56efdca6745f32ba4986dd4833f8f7fb1a4..6cf5eb5de95c1535b5fbbd8d727f3b7ab6c7f65a 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -152,6 +152,9 @@ static curl_version_info_data version_info = {
 #endif
 #if defined(ENABLE_64BIT) && (SIZEOF_CURL_OFF_T > 4)
   | CURL_VERSION_LARGEFILE
+#endif
+#if defined(CURL_DOES_CONVERSIONS)
+  | CURL_VERSION_CONV
 #endif
   ,
   NULL, /* ssl_version */