Remove _SOLARIS_C_SOURCE now that it doesn't do anything in FreeBSD

headers. All OpenSolaris compatibility comes via the set of specific
compatibility headers in src/compat/opensolaris and
src/sys/compat/opensolaris.
This commit is contained in:
jb 2007-11-28 22:58:09 +00:00
parent 55fd7467ec
commit 769c37d0ba
4 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,6 @@
# $FreeBSD$ # $FreeBSD$
CFLAGS+= -D_SOLARIS_C_SOURCE OPENSOLARIS_USR_DISTDIR= ${.CURDIR}/../../../contrib/opensolaris
OPENSOLARIS_SYS_DISTDIR= ${.CURDIR}/../../../sys/contrib/opensolaris
IGNORE_PRAGMA= YES

View File

@ -10,8 +10,8 @@ SRCS= libnvpair.c \
nvpair_alloc_fixed.c \ nvpair_alloc_fixed.c \
nvpair.c nvpair.c
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include
CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris
CFLAGS+= -I${.CURDIR}/../../../include # XXX
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -76,8 +76,6 @@ CWARNFLAGS+=-Wno-uninitialized
CWARNFLAGS+=-Wno-unused CWARNFLAGS+=-Wno-unused
CWARNFLAGS+=-Wno-switch CWARNFLAGS+=-Wno-switch
CFLAGS+=-D_SOLARIS_C_SOURCE
CFLAGS+=-I${.CURDIR}/../../compat/opensolaris CFLAGS+=-I${.CURDIR}/../../compat/opensolaris
CFLAGS+=-I${.CURDIR}/../../contrib/opensolaris/uts/common/fs/zfs CFLAGS+=-I${.CURDIR}/../../contrib/opensolaris/uts/common/fs/zfs
CFLAGS+=-I${.CURDIR}/../../contrib/opensolaris/uts/common/zmod CFLAGS+=-I${.CURDIR}/../../contrib/opensolaris/uts/common/zmod

View File

@ -6,7 +6,6 @@ SRCS= zfs.c
OBJS= zfs.o OBJS= zfs.o
WARNS?= 1 WARNS?= 1
CFLAGS=-D_SOLARIS_C_SOURCE
CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/lib/libumem CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/lib/libumem