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
7c66d4d570
commit
1d93f083bf
@ -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…
x
Reference in New Issue
Block a user