[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 27/41: curl/system.h: add Oracle Solaris Studio
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 27/41: curl/system.h: add Oracle Solaris Studio |
Date: |
Sun, 20 Aug 2017 20:46:49 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.55.1
in repository gnurl.
commit 7c711996a86587d76fe8c0dcc24d16b6c947b288
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Aug 11 23:40:27 2017 +0200
curl/system.h: add Oracle Solaris Studio
Fixes #1752
---
include/curl/system.h | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/include/curl/system.h b/include/curl/system.h
index 0e13075f7..d418e4444 100644
--- a/include/curl/system.h
+++ b/include/curl/system.h
@@ -370,6 +370,31 @@
# define CURL_PULL_SYS_TYPES_H 1
# define CURL_PULL_SYS_SOCKET_H 1
+#elif defined(__SUNPRO_C) /* Oracle Solaris Studio */
+# if !defined(__LP64) && (defined(__ILP32) || \
+ defined(__i386) || defined(__sparcv8))
+# define CURL_SIZEOF_LONG 4
+# define CURL_TYPEOF_CURL_OFF_T long long
+# define CURL_FORMAT_CURL_OFF_T "lld"
+# define CURL_FORMAT_CURL_OFF_TU "llu"
+# define CURL_SIZEOF_CURL_OFF_T 8
+# define CURL_SUFFIX_CURL_OFF_T LL
+# define CURL_SUFFIX_CURL_OFF_TU ULL
+# elif defined(__LP64) || \
+ defined(__amd64) || defined(__sparcv9)
+# define CURL_SIZEOF_LONG 8
+# define CURL_TYPEOF_CURL_OFF_T long
+# define CURL_FORMAT_CURL_OFF_T "ld"
+# define CURL_FORMAT_CURL_OFF_TU "lu"
+# define CURL_SIZEOF_CURL_OFF_T 8
+# define CURL_SUFFIX_CURL_OFF_T L
+# define CURL_SUFFIX_CURL_OFF_TU UL
+# endif
+# define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
+# define CURL_SIZEOF_CURL_SOCKLEN_T 4
+# define CURL_PULL_SYS_TYPES_H 1
+# define CURL_PULL_SYS_SOCKET_H 1
+
/* ===================================== */
/* KEEP MSVC THE PENULTIMATE ENTRY */
/* ===================================== */
@@ -520,4 +545,3 @@
#endif
#endif /* __CURL_SYSTEM_H */
-
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 28/41: bagder/Curl_tvdiff_us: fix the math, (continued)
- [GNUnet-SVN] [gnurl] 28/41: bagder/Curl_tvdiff_us: fix the math, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 32/41: travis: test cmake build on tarball too, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 26/41: docs: fix typo funtion -> function, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 33/41: test2032: mark as flaky (again), gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 18/41: RELEASE-NOTES: synced with 37f2195a9, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 40/41: RELEASE-NOTES/THANKS: curl 7.55.1 release time, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 34/41: redirect: skip URL encoding for host names, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 17/41: curlver: bump to 7.55.1, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 36/41: curl/system.h: GCC doesn't define __ppc__ on PowerPC, uses __powerpc__, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 39/41: gitignore: ignore .xz now instead of .lzma, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 27/41: curl/system.h: add Oracle Solaris Studio,
gnunet <=
- [GNUnet-SVN] [gnurl] 30/41: connect-to.d: better language, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 24/41: docs: fix typo stuct -> struct, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 23/41: test1447: require a curl with http support, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 13/41: mkhelp.pl: allow executing this script directly, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 31/41: cmake: allow user to override CMAKE_DEBUG_POSTFIX, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 25/41: docs: fix grammar in CURL_SSLVERSION_MAX_DEFAULT description, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 22/41: curl/system.h: support more architectures, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 29/41: connect-to.d: clarified, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 12/41: configure: use the threaded resolver backend by default if possible, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 37/41: ipv6_scope: support unique local addresses, gnunet, 2017/08/20