Subject: CVS commit: src/tools/compat
To: None <source-changes@NetBSD.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 06/22/2004 04:36:23
Module Name:	src
Committed By:	jmc
Date:		Tue Jun 22 04:36:23 UTC 2004

Modified Files:
	src/tools/compat: compat_defs.h

Log Message:
Redo the last commit. _NETBSD_SOURCE should never be used/referenced anymore.
So, don't wrap definitions in it, and instead check for it and #error out
if it somehow leaks into scope.

Tested a complete build to sets on x86 from a clean source tree.


To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 src/tools/compat/compat_defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.