summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2005-10-30 19:04:47 +0000
committerobrien <obrien@FreeBSD.org>2005-10-30 19:04:47 +0000
commit1d93f083bf03400439b86271732e2b3f17ba284c (patch)
tree8f8bba9b2ac9c8456ee8a2e9d92bf25b447ecf78 /gnu
parent7c66d4d57066b0367c94c88d5a7d6bf65052fb41 (diff)
downloadFreeBSD-src-1d93f083bf03400439b86271732e2b3f17ba284c.zip
FreeBSD-src-1d93f083bf03400439b86271732e2b3f17ba284c.tar.gz
Locate __FreeBSD_cc_version's value beside __FreeBSD__'s value to make it
easier to keep them in sync.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cc_tools/freebsd-native.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/freebsd-native.h b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
index 00ac78c..6504368 100644
--- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h
+++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
@@ -7,7 +7,8 @@
#define FREEBSD_NATIVE 1
/* Fake out gcc/config/freebsd<version>.h. */
-#define FBSD_MAJOR 7
+#define FBSD_MAJOR 7
+#define FBSD_CC_VER 700001 /* form like __FreeBSD_version */
#undef SYSTEM_INCLUDE_DIR /* We don't need one for now. */
#undef TOOL_INCLUDE_DIR /* We don't need one for now. */
OpenPOWER on IntegriCloud