From ec2edc19fde3370a188773de76dd9ab67c81e501 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 3 Mar 1999 21:18:00 +0000 Subject: Make this compile without -DRTLD_LOADER and fix printf format problems on the alpha. --- libexec/ld.elf_so/xprintf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libexec/ld.elf_so/xprintf.c') diff --git a/libexec/ld.elf_so/xprintf.c b/libexec/ld.elf_so/xprintf.c index 2f18612f4fe..bcc6f11f87c 100644 --- a/libexec/ld.elf_so/xprintf.c +++ b/libexec/ld.elf_so/xprintf.c @@ -1,4 +1,4 @@ -/* $NetBSD: xprintf.c,v 1.4 1999/03/01 16:40:08 christos Exp $ */ +/* $NetBSD: xprintf.c,v 1.5 1999/03/03 21:18:01 christos Exp $ */ /* * Copyright 1996 Matt Thomas @@ -38,6 +38,7 @@ #include #endif +#ifdef RTLD_LOADER #define SZ_SHORT 0x01 #define SZ_INT 0x02 #define SZ_LONG 0x04 @@ -382,3 +383,4 @@ xassert(file, line, failedexpr) abort(); /* NOTREACHED */ } +#endif -- cgit