gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 76/125: curl/system.h: fix compilation with gcc on


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 76/125: curl/system.h: fix compilation with gcc on AIX PPC and IA64 HP-UX
Date: Sun, 21 Jan 2018 23:42:11 +0100

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

ng0 pushed a commit to branch master
in repository gnurl.

commit c97648b55080343bb371522bf4233e94a2a13a99
Author: Dimitrios Apostolou <address@hidden>
AuthorDate: Thu Dec 21 18:09:45 2017 +0100

    curl/system.h: fix compilation with gcc on AIX PPC and IA64 HP-UX
    
    Closes https://github.com/curl/curl/pull/2186
---
 include/curl/system.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/curl/system.h b/include/curl/system.h
index 39dae754c..c49971bf6 100644
--- a/include/curl/system.h
+++ b/include/curl/system.h
@@ -348,7 +348,8 @@
    defined(__ppc__) || defined(__powerpc__) || defined(__arm__) ||      \
    defined(__sparc__) || defined(__mips__) || defined(__sh__) ||        \
    defined(__XTENSA__) ||                                               \
-   (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4))
+   (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4) ||                \
+   (defined(SIZEOF_LONG) && 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"

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



reply via email to

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