--- gcc/config/sparc/netbsd.h 2018/04/24 18:21:36 1.1.1.1 +++ gcc/config/sparc/netbsd.h 2018/04/24 18:29:03 1.1.1.2 @@ -1,8 +1,8 @@ -#include "sparc/sparc.h" +#include /* Get generic NetBSD definitions. */ -#include "netbsd.h" +#include /* Names to predefine in the preprocessor for this target machine. */ @@ -18,11 +18,13 @@ #define PTRDIFF_TYPE "int" #undef WCHAR_TYPE -#define WCHAR_TYPE "short unsigned int" -#define WCHAR_UNSIGNED 1 +#define WCHAR_TYPE "int" + +#undef WCHAR_UNSIGNED +#define WCHAR_UNSIGNED 0 #undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 16 +#define WCHAR_TYPE_SIZE 32 /* This is BSD, so it wants DBX format. */