gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 32/256: curl/system.h: check for __ppc__ as well


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 32/256: curl/system.h: check for __ppc__ as well
Date: Fri, 06 Oct 2017 19:42:03 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit f2d060cf2b4f5d52ec8f356449085e8070fb5370
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Aug 17 14:39:39 2017 +0200

    curl/system.h: check for __ppc__ as well
    
    ... regression since issue #1774 (commit 10b3df10596a) since obviously
    some older gcc doesn't know __powerpc__ while some newer doesn't know
    __ppc__ ...
    
    Fixes #1797
    Closes #1798
    Reported-by: Ryan Schmidt
---
 include/curl/system.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/curl/system.h b/include/curl/system.h
index 043b88bb6..df4d283dd 100644
--- a/include/curl/system.h
+++ b/include/curl/system.h
@@ -344,8 +344,8 @@
 
 #elif defined(__GNUC__)
 #  if !defined(__LP64__) &&                                             \
-  (defined(__ILP32__) ||                                                \
-   defined(__i386__) || defined(__powerpc__) || defined(__arm__) ||     \
+  (defined(__ILP32__) || defined(__i386__) ||                           \
+   defined(__ppc__) || defined(__powerpc__) || defined(__arm__) ||      \
    defined(__sparc__) || defined(__mips__) || defined(__sh__) ||        \
    defined(__XTENSA__) ||                                               \
    (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4))

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



reply via email to

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