]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: aarch64-freebsd.h: Define WCHAR_T.
authorAndreas Tobler <andreast@gcc.gnu.org>
Fri, 7 Apr 2017 19:37:08 +0000 (21:37 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Fri, 7 Apr 2017 19:37:08 +0000 (21:37 +0200)
2017-04-07  Andreas Tobler  <andreast@gcc.gnu.org>

    Backport from mainline
    2017-04-07  Andreas Tobler  <andreast@gcc.gnu.org>

    * config/aarch64/aarch64-freebsd.h: Define WCHAR_T.

From-SVN: r246778

gcc/ChangeLog
gcc/config/aarch64/aarch64-freebsd.h

index 029fb68c94e4c9188fed368054454d2073b8304e..d0b6e8fcc004ef7c3e7388bccf8320c9a97fe88d 100644 (file)
@@ -1,3 +1,10 @@
+2017-04-07  Andreas Tobler  <andreast@gcc.gnu.org>
+
+       Backport from mainline
+        2017-04-07  Andreas Tobler  <andreast@gcc.gnu.org>
+
+       * config/aarch64/aarch64-freebsd.h: Define WCHAR_T.
+
 2017-04-07  Uros Bizjak  <ubizjak@gmail.com>
 
        Backport from mainline
index b9c1bfdc95f20af5718561b995bcb1f8862fc32d..84bf41a362fc69a2565c066a522351856d796806 100644 (file)
@@ -91,4 +91,7 @@
 #undef TARGET_BINDS_LOCAL_P
 #define TARGET_BINDS_LOCAL_P default_binds_local_p_2
 
+#undef  WCHAR_TYPE
+#define WCHAR_TYPE  "unsigned int"
+
 #endif  /* GCC_AARCH64_FREEBSD_H */