Locate __FreeBSD_cc_version's value beside __FreeBSD__'s value to make it
easier to keep them in sync.
This commit is contained in:
parent
6739824a02
commit
a1cfcf9970
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151887
@ -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() \
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user