linux.h (WCHAR_TYPE, [...]): Define.

* config/vax/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
	* config.gcc (vax-*-linux*): Don't use svr4.h.

From-SVN: r167675
This commit is contained in:
Joseph Myers 2010-12-10 01:03:33 +00:00 committed by Joseph Myers
parent 38485de03d
commit a23980bdb6
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-12-09 Joseph Myers <joseph@codesourcery.com>
* config/vax/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (vax-*-linux*): Don't use svr4.h.
2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
* c-typeck.c (build_indirect_ref): Call invalid_indirection_error.

View File

@ -2633,7 +2633,7 @@ v850-*-*)
use_gcc_stdint=wrap
;;
vax-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h vax/elf.h vax/linux.h"
tm_file="${tm_file} dbxelf.h elfos.h linux.h vax/elf.h vax/linux.h"
tmake_file="${tmake_file} vax/t-linux"
;;
vax-*-netbsdelf*)

View File

@ -46,3 +46,9 @@ along with GCC; see the file COPYING3. If not see
%{rdynamic:-export-dynamic} \
-dynamic-linker /lib/ld.so.1} \
%{static:-static}}"
#undef WCHAR_TYPE
#define WCHAR_TYPE "long int"
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE BITS_PER_WORD