diff src/unexsunos4.c @ 80696:acd89d089f05

Use __sparc__ rather than sparc.
author Glenn Morris <rgm@gnu.org>
date Sun, 10 Aug 2008 02:40:17 +0000
parents fc2bcd2a8aad
children
line wrap: on
line diff
--- a/src/unexsunos4.c	Sun Aug 10 02:35:40 2008 +0000
+++ b/src/unexsunos4.c	Sun Aug 10 02:40:17 2008 +0000
@@ -236,11 +236,11 @@
 #else /* not SUNOS4_SHARED_LIBRARIES */
     rel = erel = 0;
 #endif /* not SUNOS4_SHARED_LIBRARIES */
-#ifdef sparc
+#ifdef __sparc__
 #define REL_INFO_TYPE		struct reloc_info_sparc
 #else
 #define REL_INFO_TYPE		struct relocation_info
-#endif /* sparc */
+#endif /* __sparc__ */
 #define REL_TARGET_ADDRESS(r)	(((REL_INFO_TYPE *)(r))->r_address)
 #endif /* SUNOS4 */
 #if defined (__FreeBSD__) || defined (__NetBSD__)