diff options
Diffstat (limited to 'gnu/usr.bin/ld/i386/md.c')
-rw-r--r-- | gnu/usr.bin/ld/i386/md.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/ld/i386/md.c b/gnu/usr.bin/ld/i386/md.c index 6f4dfdb475a..029c09235dd 100644 --- a/gnu/usr.bin/ld/i386/md.c +++ b/gnu/usr.bin/ld/i386/md.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: md.c,v 1.1 1995/10/18 08:40:56 deraadt Exp $ + * $Id: md.c,v 1.2 1996/09/30 22:29:26 deraadt Exp $ */ #include <sys/param.h> @@ -244,7 +244,7 @@ md_init_header(hp, magic, flags) struct exec *hp; int magic, flags; { -#ifdef NetBSD +#if defined(__NetBSD__) || defined(__OpenBSD__) if (oldmagic || magic == QMAGIC) hp->a_midmag = magic; else @@ -287,7 +287,7 @@ void md_swapout_exec_hdr(h) struct exec *h; { - /* NetBSD: Always leave magic alone */ + /* NetBSD/OpenBSD: Always leave magic alone */ int skip = 1; #if 0 if (N_GETMAGIC(*h) == OMAGIC) |