diff options
| author | Richard M. Stallman | 1995-04-06 21:55:02 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-04-06 21:55:02 +0000 |
| commit | 7d1589645690ec691e280ec1744532058e72a529 (patch) | |
| tree | 0bc540e41b3ef2846f060ecba634c63a67e7126b /src | |
| parent | 94802f45ce7b1e2f2942e2eca88e77a6e6671875 (diff) | |
| download | emacs-7d1589645690ec691e280ec1744532058e72a529.tar.gz emacs-7d1589645690ec691e280ec1744532058e72a529.zip | |
Treat __NetBSD__ like __FreeBSD__.
Diffstat (limited to 'src')
| -rw-r--r-- | src/unexsunos4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unexsunos4.c b/src/unexsunos4.c index e36ddeed9e8..7b97d077fe0 100644 --- a/src/unexsunos4.c +++ b/src/unexsunos4.c | |||
| @@ -56,7 +56,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 56 | #include <config.h> | 56 | #include <config.h> |
| 57 | #endif | 57 | #endif |
| 58 | 58 | ||
| 59 | #if defined (SUNOS4) || defined (__FreeBSD__) | 59 | #if defined (SUNOS4) || defined (__FreeBSD__) || defined (__NetBSD__) |
| 60 | #define UNDO_RELOCATION | 60 | #define UNDO_RELOCATION |
| 61 | #endif | 61 | #endif |
| 62 | 62 | ||
| @@ -235,7 +235,7 @@ unexec (new_name, a_name, bndry, bss_start, entry) | |||
| 235 | #endif /* sparc */ | 235 | #endif /* sparc */ |
| 236 | #define REL_TARGET_ADDRESS(r) (((REL_INFO_TYPE *)(r))->r_address) | 236 | #define REL_TARGET_ADDRESS(r) (((REL_INFO_TYPE *)(r))->r_address) |
| 237 | #endif /* SUNOS4 */ | 237 | #endif /* SUNOS4 */ |
| 238 | #ifdef __FreeBSD__ | 238 | #if defined (__FreeBSD__) || defined (__NetBSD__) |
| 239 | extern struct _dynamic _DYNAMIC; | 239 | extern struct _dynamic _DYNAMIC; |
| 240 | 240 | ||
| 241 | /* FreeBSD's LD_REL is a virtual address itself. */ | 241 | /* FreeBSD's LD_REL is a virtual address itself. */ |