Locate __FreeBSD_cc_version's value beside __FreeBSD__'s value to make it

easier to keep them in sync.
This commit is contained in:
David E. O'Brien 2005-10-30 19:04:47 +00:00
parent 6739824a02
commit a1cfcf9970
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151887
2 changed files with 3 additions and 2 deletions

View File

@ -70,7 +70,7 @@ Boston, MA 02111-1307, USA. */
#ifdef FREEBSD_NATIVE
#define FBSD_NATIVE_TARGET_OS_CPP_BUILTINS() \
do { \
builtin_define_std ("__FreeBSD_cc_version=700001"); \
builtin_define_with_int_value ("__FreeBSD_cc_version", FBSD_CC_VER); \
} while (0)
#else
#define FBSD_NATIVE_TARGET_OS_CPP_BUILTINS() \

View File

@ -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. */