]> git.eshelyaron.com Git - emacs.git/commitdiff
Treat __NetBSD__ like __FreeBSD__.
authorRichard M. Stallman <rms@gnu.org>
Thu, 6 Apr 1995 21:55:02 +0000 (21:55 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 6 Apr 1995 21:55:02 +0000 (21:55 +0000)
src/unexsunos4.c

index e36ddeed9e87e288a0b9c063168b4b1f8bfd71ee..7b97d077fe0a1d33d990de1672625e3109d8e4b3 100644 (file)
@@ -56,7 +56,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <config.h>
 #endif
 
-#if defined (SUNOS4) || defined (__FreeBSD__)
+#if defined (SUNOS4) || defined (__FreeBSD__) || defined (__NetBSD__)
 #define UNDO_RELOCATION
 #endif
 
@@ -235,7 +235,7 @@ unexec (new_name, a_name, bndry, bss_start, entry)
 #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. */