diff options
| author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-10-27 23:57:55 +0000 |
|---|---|---|
| committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-10-27 23:57:55 +0000 |
| commit | 5dbed42856ab7757607327cdf83e9dafdf48d7d7 (patch) | |
| tree | 067a68a705baaa042f03747a279a5dc6b5c0de16 | |
| parent | 80e963994ab8c05eb8a1c1e2712ab97d1100e40f (diff) | |
Notes
| -rw-r--r-- | contrib/gcc/config/freebsd-spec.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/contrib/gcc/config/freebsd-spec.h b/contrib/gcc/config/freebsd-spec.h index e0a5b6640f0c..e22a8d191cdf 100644 --- a/contrib/gcc/config/freebsd-spec.h +++ b/contrib/gcc/config/freebsd-spec.h @@ -53,16 +53,7 @@ Boston, MA 02111-1307, USA. */ #define FBSD_TARGET_OS_CPP_BUILTINS() \ do \ { \ - if (FBSD_MAJOR == 6) \ - builtin_define ("__FreeBSD__=6"); \ - else if (FBSD_MAJOR == 5) \ - builtin_define ("__FreeBSD__=5"); \ - else if (FBSD_MAJOR == 4) \ - builtin_define ("__FreeBSD__=4"); \ - else if (FBSD_MAJOR == 3) \ - builtin_define ("__FreeBSD__=3"); \ - else \ - builtin_define ("__FreeBSD__"); \ + builtin_define_with_int_value ("__FreeBSD__", FBSD_MAJOR); \ builtin_define_std ("unix"); \ builtin_define ("__KPRINTF_ATTRIBUTE__"); \ builtin_assert ("system=unix"); \ |
