summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/curl_get_line.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/curl_get_line.h')
-rw-r--r--libs/libcurl/src/curl_get_line.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/libcurl/src/curl_get_line.h b/libs/libcurl/src/curl_get_line.h
index 9b8c0d8410..9debce926d 100644
--- a/libs/libcurl/src/curl_get_line.h
+++ b/libs/libcurl/src/curl_get_line.h
@@ -26,6 +26,12 @@
#include "dynbuf.h"
+#ifndef BUILDING_LIBCURL
+/* this renames functions so that the tool code can use the same code
+ without getting symbol collisions */
+#define Curl_get_line(a,b) curlx_get_line(a,b)
+#endif
+
/* Curl_get_line() returns complete lines that end with a newline. */
int Curl_get_line(struct dynbuf *buf, FILE *input);