summaryrefslogtreecommitdiffstats
path: root/sys/modules/svr4/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-12-29 05:07:58 +0000
committerpeter <peter@FreeBSD.org>1999-12-29 05:07:58 +0000
commitd53e4c1d809338e9b317d95bdded2f7f7a986556 (patch)
tree916004bdaa3cf47d2a92effe8c981e7d1ff5ccec /sys/modules/svr4/Makefile
parent15b9bcb121e1f3735a2c98a11afdb52a03301d7e (diff)
downloadFreeBSD-src-d53e4c1d809338e9b317d95bdded2f7f7a986556.zip
FreeBSD-src-d53e4c1d809338e9b317d95bdded2f7f7a986556.tar.gz
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
Diffstat (limited to 'sys/modules/svr4/Makefile')
-rw-r--r--sys/modules/svr4/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile
index 6c048c7..7901455 100644
--- a/sys/modules/svr4/Makefile
+++ b/sys/modules/svr4/Makefile
@@ -10,7 +10,7 @@ SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_global.h opt_vmpage.h \
OBJS= svr4_locore.o
NOMAN=1
MAN8= svr4.8
-CFLAGS+= -DKERNEL
+CFLAGS+= -D_KERNEL
MAINTAINER= newton@freebsd.org
EXPORT_SYMS=_svr4_mod
@@ -22,11 +22,11 @@ svr4_assym.h: svr4_genassym.o
genassym -o ${.TARGET} ${.ALLSRC}
svr4_locore.o: svr4_locore.s svr4_assym.h
- ${CC} -c -x assembler-with-cpp -DLOCORE -DKERNEL ${CFLAGS} \
+ ${CC} -c -x assembler-with-cpp -DLOCORE -D_KERNEL ${CFLAGS} \
${.IMPSRC} -o ${.TARGET}
svr4_genassym.o: svr4_genassym.c svr4.h @ machine
- ${CC} -c ${CFLAGS} -UKERNEL ${.IMPSRC}
+ ${CC} -c ${CFLAGS} -U_KERNEL ${.IMPSRC}
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h
OpenPOWER on IntegriCloud