aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2008-03-11 07:37:40 +0000
committerMichal Marek <mmarek@suse.cz>2008-03-11 07:37:40 +0000
commit7a8a20416fd7648686f05d14947ccdab44c6780c (patch)
tree686f1113271f446177f3c642260e57f8f668e777 /lib
parent458925ae0b680913e470ce0e0c8c48bbd86b26fd (diff)
- Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only
works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html , http://curl.haxx.se/mail/lib-2008-02/0292.html )
Diffstat (limited to 'lib')
-rw-r--r--lib/easy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/easy.c b/lib/easy.c
index b8af38038..018aeab6e 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -348,6 +348,7 @@ CURL *curl_easy_init(void)
* easy handle.
*/
+#undef curl_easy_setopt
CURLcode curl_easy_setopt(CURL *curl, CURLoption tag, ...)
{
va_list arg;