diff options
author | 2010-05-10 21:02:58 +0000 | |
---|---|---|
committer | 2010-05-10 21:02:58 +0000 | |
commit | 53c0961ed702e88dc8b59568c89ff47f37ca2be2 (patch) | |
tree | 3fb6c6f190b5bcb12b02f2874852322ee0caee78 | |
parent | Mention that commands may be abbreviated. ok claudio@ (diff) | |
download | wireguard-openbsd-53c0961ed702e88dc8b59568c89ff47f37ca2be2.tar.xz wireguard-openbsd-53c0961ed702e88dc8b59568c89ff47f37ca2be2.zip |
Use OPENBSD_OS_CPP_BUILTINS(), and add a few missing defines to make sure
the types used by GCC match those in machine/_types.h.
-rw-r--r-- | gnu/gcc/gcc/config/sparc/openbsd64.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gnu/gcc/gcc/config/sparc/openbsd64.h b/gnu/gcc/gcc/config/sparc/openbsd64.h index b7ba7116334..f6e069e9f64 100644 --- a/gnu/gcc/gcc/config/sparc/openbsd64.h +++ b/gnu/gcc/gcc/config/sparc/openbsd64.h @@ -34,10 +34,7 @@ Boston, MA 02110-1301, USA. */ #define TARGET_OS_CPP_BUILTINS() \ do \ { \ - builtin_define ("__unix__"); \ - builtin_define ("__OpenBSD__"); \ - builtin_assert ("system=unix"); \ - builtin_assert ("system=OpenBSD"); \ + OPENBSD_OS_CPP_BUILTINS(); \ builtin_define ("__sparc64__"); \ builtin_define ("__sparcv9__"); \ builtin_define ("__sparc_v9__"); \ @@ -68,6 +65,15 @@ Boston, MA 02110-1301, USA. */ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 +#undef WINT_TYPE +#define WINT_TYPE "int" + +#undef INTMAX_TYPE +#define INTMAX_TYPE "long long int" + +#undef UINTMAX_TYPE +#define UINTMAX_TYPE "long long unsigned int" + #undef LONG_DOUBLE_TYPE_SIZE #define LONG_DOUBLE_TYPE_SIZE 128 |