[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 10/18: curl.h: add two defines for the "pre ISO C" case
From: |
gnunet |
Subject: |
[gnurl] 10/18: curl.h: add two defines for the "pre ISO C" case |
Date: |
Fri, 20 Dec 2019 14:49:12 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit e9685cd75dc657ba14276f04750f0b6c67c1d485
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Dec 19 11:00:58 2019 +0100
curl.h: add two defines for the "pre ISO C" case
Without this fix, this caused a compilation failure on AIX with IBM xlc
13.1.3 compiler.
Reported-by: Ram Krushna Mishra
Fixes #4739
Closes #4740
---
include/curl/curl.h | 2 ++
1 file changed, 2 insertions(+)
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
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] branch master updated (486ada36f -> 71b588320), gnunet, 2019/12/20
- [gnurl] 03/18: CURLOPT_URL.3: "curl supports SMB version 1 (only)", gnunet, 2019/12/20
- [gnurl] 01/18: HISTORY: the SMB(S) support landed in 2014, gnunet, 2019/12/20
- [gnurl] 10/18: curl.h: add two defines for the "pre ISO C" case,
gnunet <=
- [gnurl] 02/18: test1270: a basic -w redirect_url test, gnunet, 2019/12/20
- [gnurl] 06/18: strerror: Fix compiler warning "empty expression", gnunet, 2019/12/20
- [gnurl] 07/18: CURLOPT_QUOTE.3: fix typos, gnunet, 2019/12/20
- [gnurl] 08/18: test1456: remove the use of a fixed local port, gnunet, 2019/12/20
- [gnurl] 05/18: curl/parseconfig: use curl_free() to free memory allocated by libcurl, gnunet, 2019/12/20
- [gnurl] 04/18: curl/parseconfig: fix mem-leak, gnunet, 2019/12/20
- [gnurl] 09/18: create_conn: prefer multiplexing to using new connections, gnunet, 2019/12/20
- [gnurl] 16/18: HISTORY: OSS-Fuzz started fuzzing libcurl in 2017, gnunet, 2019/12/20
- [gnurl] 11/18: test165: set LC_ALL=en_US.UTF-8 too, gnunet, 2019/12/20
- [gnurl] 13/18: sws: search for "Testno:" header uncondtionally if no testno, gnunet, 2019/12/20