mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
2 changed files with 3 additions and 2 deletions
|
|
@ -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 a new issue