diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-01-13 23:49:58 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-01-13 23:49:58 +0000 |
commit | 734189214fc8da06bd1fd1e28aa8bacc131a0c21 (patch) | |
tree | 3635c1613f2d1c3f0d034cb6bcc2116888e5cfb7 /gcc/config/mips/iris3.h | |
parent | d91058312055b41cdacc40c0ab33b43e219fc38d (diff) |
(CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and
__mips.
(SIZE_TYPE, PTRDIFF_TYPE): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6390 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/iris3.h')
-rw-r--r-- | gcc/config/mips/iris3.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/mips/iris3.h b/gcc/config/mips/iris3.h index a58a24187b0..83cac619c33 100644 --- a/gcc/config/mips/iris3.h +++ b/gcc/config/mips/iris3.h @@ -35,7 +35,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ %{.cxx: -D_LANGUAGE_C_PLUS_PLUS} \ %{.C: -D_LANGUAGE_C_PLUS_PLUS} \ %{.m: -D_LANGUAGE_OBJECTIVE_C} \ -%{!.S: %{!.s: %{!.cc: %{!.cxx: %{!.C: %{!.m: -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}}}}}" +%{!.S: %{!.s: %{!.cc: %{!.cxx: %{!.C: %{!.m: -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}}}}} \ +%{mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int} \ +%{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \ +%{mips3:-U__mips -D__mips=3}" #define LIB_SPEC \ "%{!p:%{!pg:%{!static:%{!g*:-lc_s}} -lc}}%{p:-lc_p}%{pg:-lc_p} crtn.o%s" @@ -93,9 +96,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define NO_DOLLAR_IN_LABEL 1 -/* Specify size_t, ptrdiff_t, and wchar_t types. */ -#define SIZE_TYPE "unsigned int" -#define PTRDIFF_TYPE "int" +/* Specify wchar_t types. */ #define WCHAR_TYPE "unsigned char" #define WCHAR_TYPE_SIZE BITS_PER_UNIT |