[PATCH 10/10] 64 bit sparc does not define __sparc64__ we need to use "defined(__sparc__) && defined(__arch64__)" fixes building 64 bit sparc

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

 



---
 loader/loader.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader/loader.h b/loader/loader.h
index a38bd49..41efeac 100644
--- a/loader/loader.h
+++ b/loader/loader.h
@@ -155,7 +155,7 @@ struct loaderData_s {
 };
 
 /* 64 bit platforms, definitions courtesy of glib */
-#if defined (__x86_64__) || defined(__ia64__) || defined(__alpha__) || defined(__powerpc64__) || defined(__sparc64__) || defined(__s390x__)
+#if defined (__x86_64__) || defined(__ia64__) || defined(__alpha__) || defined(__powerpc64__) || defined(__s390x__) || defined(__sparc__) && defined(__arch64__)
 #define POINTER_TO_INT(p)  ((int) (long) (p))
 #define INT_TO_POINTER(i)  ((void *) (long) (i))
 #else
-- 
1.6.2.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux