changeset 11229:8c38245f7be4

Treat __NetBSD__ like __FreeBSD__.
author Richard M. Stallman <rms@gnu.org>
date Thu, 06 Apr 1995 21:55:02 +0000
parents a78e341e8061
children c6b70cdf844e
files src/unexsunos4.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/unexsunos4.c	Thu Apr 06 21:53:21 1995 +0000
+++ b/src/unexsunos4.c	Thu Apr 06 21:55:02 1995 +0000
@@ -56,7 +56,7 @@
 #include <config.h>
 #endif
 
-#if defined (SUNOS4) || defined (__FreeBSD__)
+#if defined (SUNOS4) || defined (__FreeBSD__) || defined (__NetBSD__)
 #define UNDO_RELOCATION
 #endif
 
@@ -235,7 +235,7 @@
 #endif /* sparc */
 #define REL_TARGET_ADDRESS(r)	(((REL_INFO_TYPE *)(r))->r_address)
 #endif /* SUNOS4 */
-#ifdef __FreeBSD__
+#if defined (__FreeBSD__) || defined (__NetBSD__)
     extern struct _dynamic _DYNAMIC;
 
     /*  FreeBSD's LD_REL is a virtual address itself. */