gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 77/178: system.h: Add sparcv8plus to oracle/sunpro


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 77/178: system.h: Add sparcv8plus to oracle/sunpro 32-bit detection
Date: Wed, 23 May 2018 12:25:12 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 631f64cf462ef1d715b909f901074844230fa36e
Author: Dagobert Michelsen <address@hidden>
AuthorDate: Fri Apr 13 11:57:48 2018 +0200

    system.h: Add sparcv8plus to oracle/sunpro 32-bit detection
    
    With specific compiler options selecting the arch like -xarch=sparc on
    newer compilers like Oracle Studio 12.4 there is no definition of
    __sparcv8 but __sparcv8plus which means the V9 ISA, but limited to the
    32ÎíÎñbit subset defined by the V8plus ISA specification, without the
    Visual Instruction Set (VIS), and without other implementation-specific
    ISA extensions. So it should be the same as __sparcv8.
    
    Closes https://github.com/curl/curl/pull/2491
---
 include/curl/system.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/curl/system.h b/include/curl/system.h
index 07bbd9ca9..eac4cfeb6 100644
--- a/include/curl/system.h
+++ b/include/curl/system.h
@@ -300,7 +300,9 @@
 
 #elif defined(__SUNPRO_C) /* Oracle Solaris Studio */
 #  if !defined(__LP64) && (defined(__ILP32) ||                          \
-                           defined(__i386) || defined(__sparcv8))
+                           defined(__i386) ||                           \
+                           defined(__sparcv8) ||                        \
+                           defined(__sparcv8plus))
 #    define CURL_TYPEOF_CURL_OFF_T     long long
 #    define CURL_FORMAT_CURL_OFF_T     "lld"
 #    define CURL_FORMAT_CURL_OFF_TU    "llu"

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]