diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-06-29 01:19:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-06-29 01:19:23 +0000 |
commit | a80163397d548b79620836b33babd525fdbe28c6 (patch) | |
tree | 6bfed4d0b6cfa13f4c529361f64f967a19da2834 /gdb/rdi-share/host.h | |
parent | 5e91c3b4311049f4ef00ded805872c282810c5c4 (diff) | |
download | gdb-a80163397d548b79620836b33babd525fdbe28c6.zip gdb-a80163397d548b79620836b33babd525fdbe28c6.tar.gz gdb-a80163397d548b79620836b33babd525fdbe28c6.tar.bz2 |
* rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
* rdi-share/hostchan.h (__unix): Hack, provide a default value.
* rdi-share/host.h (__unix): Hack, define when __NetBSD__.
* TODO: Update.
* MAINTAINERS: Update. arm-elf builds.
Diffstat (limited to 'gdb/rdi-share/host.h')
-rw-r--r-- | gdb/rdi-share/host.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/rdi-share/host.h b/gdb/rdi-share/host.h index 3c1565b..53b6568 100644 --- a/gdb/rdi-share/host.h +++ b/gdb/rdi-share/host.h @@ -37,13 +37,14 @@ #endif #endif -#ifdef unix /* A temporary sop to older compilers */ +/* A temporary sop to older compilers */ +#if defined (__NetBSD__) || defined (unix) # ifndef __unix /* (good for long-term portability?) */ # define __unix 1 # endif #endif -#ifdef __unix +#if defined(__unix) /* Generic unix -- hopefully a split into other variants will not be */ /* needed. However, beware the 'bsd' test above and safe_toupper etc. */ /* which cope with backwards (pre-posix/X/open) unix compatility. */ |