summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-12-19 11:00:58 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-12-19 11:00:58 +0100
commit7719faa281985c95b7ab8a566742411a7c2a5a8a (patch)
treee8bcecd3cbea70d698ed674324f33c76fe58ef76
parent8c0807aa161d791fa94da2e19e46b8cf845fd5d1 (diff)
downloadcurl-bagder/include-pre-iso-fix.tar.gz
curl.h: add two defines for the "pre ISO C" casebagder/include-pre-iso-fix
Without this fix, this caused a compilation failure on AIX with IBM xlc 13.1.3 compiler. Reported-by: Ram Krushna Mishra Fixes #4739
-rw-r--r--include/curl/curl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index bef8a0bca..a9754fd64 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -956,6 +956,8 @@ typedef enum {
/* The macro "##" is ISO C, we assume pre-ISO C doesn't support it. */
#define LONG CURLOPTTYPE_LONG
#define OBJECTPOINT CURLOPTTYPE_OBJECTPOINT
+#define STRINGPOINT CURLOPTTYPE_OBJECTPOINT
+#define SLISTPOINT CURLOPTTYPE_OBJECTPOINT
#define FUNCTIONPOINT CURLOPTTYPE_FUNCTIONPOINT
#define OFF_T CURLOPTTYPE_OFF_T
#define CINIT(name,type,number) CURLOPT_/**/name = type + number