Subject: -DSTANDALONE versus -D_STANDALONE
To: None <current-users@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: current-users
Date: 02/05/1999 13:34:29
What is the right define for booters. At this moment only alpha, i386, pmax,
sun3, macppc, ofppc, next68k and sparc64 seem to set -D_STANDALONE.

At least sparc fails to compile md5.c because it sets -DSTANDALONE.

What is the right define?
Is the following change ok?

RCS file: /cvs/NetBSD/src/sys/arch/sparc/stand/Makefile.buildboot,v
--- Makefile.buildboot	1997/06/09 11:12:08	1.1.1.1
+++ Makefile.buildboot	1999/02/05 12:33:01
@@ -18,5 +18,5 @@
 RELOC?=		${RELOC_SUN4C}
 
-CPPFLAGS+=	-DSTANDALONE -DRELOC=${RELOC} -DSUN4 -DSUN4C -DSUN_BOOTPARAMS
+CPPFLAGS+=	-D_STANDALONE -DRELOC=${RELOC} -DSUN4 -DSUN4C -DSUN_BOOTPARAMS
 
 CPPFLAGS+=	-I${.CURDIR}/../../.. -I${.CURDIR}/../../../..

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)