diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-01-04 21:14:04 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-01-04 21:14:04 +0000 |
commit | ea838f998abb3976fee8294dc34a1fa3c19338f4 (patch) | |
tree | ee451af058fcabc3cc2bda234f1ba7668f3e2898 /gas/config/ho-mpw.h | |
parent | de9425a8db21c25d3bb1c409faa2ede6f4e3aa9e (diff) | |
download | gdb-ea838f998abb3976fee8294dc34a1fa3c19338f4.zip gdb-ea838f998abb3976fee8294dc34a1fa3c19338f4.tar.gz gdb-ea838f998abb3976fee8294dc34a1fa3c19338f4.tar.bz2 |
Mon Jan 3 10:47:37 1994 Stan Shebs (shebs@andros.cygnus.com)
* config.sub: Add MPW-related aliases.
* mpw-configure: New file, MPW version of configure.
* mpw-config.in: New file, MPW version of configure.in.
* mpw-xconfig.in: New file, addon to configure.in.
Mon Jan 3 12:42:45 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-xconfig.in: New file, mpw x mips configuration bits.
Diffstat (limited to 'gas/config/ho-mpw.h')
-rw-r--r-- | gas/config/ho-mpw.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/gas/config/ho-mpw.h b/gas/config/ho-mpw.h new file mode 100644 index 0000000..caac6da --- /dev/null +++ b/gas/config/ho-mpw.h @@ -0,0 +1,76 @@ +/* ho-mpw.h Host-specific header file for MPW. + Copyright (C) 1993 Free Software Foundation, Inc. + + This file is part of GAS, the GNU Assembler. + + GAS is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + GAS is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GAS; see the file COPYING. If not, write to + the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifndef MPW +#define MPW +#endif + +#define bzero(a,b) memset(a,0,b) +#define bcopy(a,b,c) memcpy(b,a,c) +#define bcmp(a,b,c) memcmp(a,b,c) + +#if 0 /* this doesn't work, sigh */ +#ifndef __STDC__ +#define __STDC__ +#endif +#endif + +#define M_ANSI 1 + +#include <stdlib.h> +#include <string.h> + +#ifndef false +#define false ffalse +#endif +#ifndef true +#define true ttrue +#endif + +#include <memory.h> + +char *strdup(); + +#ifdef MPW_C + +#undef __PTR_TO_INT +#define __PTR_TO_INT(P) ((int)(P)) +#undef __INT_TO_PTR +#define __INT_TO_PTR(P) ((char *)(P)) + +#endif + +#define sys_nerr _sys_nerr +#define sys_errlist _sys_errlist + +#ifdef __STDIO__ +FILE *mpw_fopen(); +#endif + +#define fopen mpw_fopen +#define fseek mpw_fseek +#define abort mpw_abort + +/* <cr> is an end-of-line marker. */ + +#define CR_EOL + +#define ABORT_ON_ERROR + +/* end of ho-mpw.h */ |