summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2005-01-14 08:25:00 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2005-01-14 08:25:00 +0000
commit4952281afea8afb1ea6a3995c36be089f9c61227 (patch)
treeb066f7f335141ed27099fbafd6ec2a12c5796960
parentf7ec45bca41f0a10524ebe52a62b893590cd13df (diff)
Use __LP64__ instead of listing all 64bit arches.
ok deraadt@ pvalchev@ miod@
-rw-r--r--distrib/common/elfrdsetroot.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/common/elfrdsetroot.c b/distrib/common/elfrdsetroot.c
index 9d472e6555e..10fa4359eec 100644
--- a/distrib/common/elfrdsetroot.c
+++ b/distrib/common/elfrdsetroot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elfrdsetroot.c,v 1.6 2004/09/16 21:23:39 pefo Exp $ */
+/* $OpenBSD: elfrdsetroot.c,v 1.7 2005/01/14 08:24:59 grange Exp $ */
/* $NetBSD: rdsetroot.c,v 1.2 1995/10/13 16:38:39 gwr Exp $ */
/*
@@ -44,8 +44,7 @@
#include <unistd.h>
#include <nlist.h>
-#if defined(__alpha__) || defined(__sparc64__) || defined(__mips64) || \
- defined(__x86_64__) /* XXXXXX */
+#ifdef __LP64__
#define ELFSIZE 64
#else
#define ELFSIZE 32