summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/cc_tools/freebsd-native.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-03-02 02:56:59 +0000
committerobrien <obrien@FreeBSD.org>2001-03-02 02:56:59 +0000
commitc6f64d9c7573f862ee3d3ccf62285dd84bf864cf (patch)
tree662518578395b7a15630811fba03abea772acadc /gnu/usr.bin/cc/cc_tools/freebsd-native.h
parentc2acd8fa318422ed45e6058d0f7f6a753150b8e2 (diff)
downloadFreeBSD-src-c6f64d9c7573f862ee3d3ccf62285dd84bf864cf.zip
FreeBSD-src-c6f64d9c7573f862ee3d3ccf62285dd84bf864cf.tar.gz
Define "FREEBSD_NATIVE" in the freebsd-native header to reduce the amount
of stuff (and thus length of error output) we put on the invocation command line. Also follow the new FSF/GNU style of giving the symbol a value so it can be used in `if()' statements in addition to `#if' so seldomly compiled in code (on some platforms) gets compiled always, to help reduce bit-rot.
Diffstat (limited to 'gnu/usr.bin/cc/cc_tools/freebsd-native.h')
-rw-r--r--gnu/usr.bin/cc/cc_tools/freebsd-native.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/freebsd-native.h b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
index fd04a68..f1063fe 100644
--- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h
+++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
@@ -4,6 +4,9 @@
source tree so it can be configured appropriately without using
the GNU configure/build mechanism. */
+#undef FREEBSD_NATIVE
+#define FREEBSD_NATIVE 1
+
#undef SYSTEM_INCLUDE_DIR /* We don't need one for now. */
#undef GCC_INCLUDE_DIR /* We don't need one for now. */
#undef TOOL_INCLUDE_DIR /* We don't need one for now. */
OpenPOWER on IntegriCloud