Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2006 23:19:31 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 96380 for review
Message-ID:  <200604292319.k3TNJVci005133@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96380

Change 96380 by jb@jb_freebsd2 on 2006/04/29 23:18:38

	Enable Solaris header file compatibility definitions when compiling.

Affected files ...

.. //depot/projects/dtrace/src/sys/modules/dtrace/Makefile#8 edit
.. //depot/projects/dtrace/src/sys/modules/fasttrap/Makefile#3 edit

Differences ...

==== //depot/projects/dtrace/src/sys/modules/dtrace/Makefile#8 (text+ko) ====

@@ -11,7 +11,7 @@
 		-I${.CURDIR}/../../cddl/dev/dtrace/${MACHINE_ARCH} \
 		-I${.CURDIR}/../../contrib/opensolaris/uts/common \
 		-I${.CURDIR}/../../contrib \
-		-I${.CURDIR}/../.. -DDIS_MEM
+		-I${.CURDIR}/../.. -DDIS_MEM -D_SOLARIS_C_SOURCE
 
 CFLAGS+=	-DDEBUG
 

==== //depot/projects/dtrace/src/sys/modules/fasttrap/Makefile#3 (text+ko) ====

@@ -8,7 +8,7 @@
 
 CFLAGS+=	-I${.CURDIR}/../../contrib/opensolaris/uts/common \
 		-I${.CURDIR}/../../contrib \
-		-I${.CURDIR}/../..
+		-I${.CURDIR}/../.. -D_SOLARIS_C_SOURCE
 
 load	:
 	kldload dtrace



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604292319.k3TNJVci005133>