to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/*
- * $Id: tc-sparc.h,v 1.1.1.1 1995/10/18 08:39:06 deraadt Exp $
+ * $Id: tc-sparc.h,v 1.2 1997/02/17 09:03:32 niklas Exp $
*/
#define TC_SPARC 1
#define LOCAL_LABELS_FB
#define WORKING_DOT_WORD
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
#define AOUT_MACHTYPE 138
#endif
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
-#if defined(__svr4__) || defined(_AIX) || defined(_M_UNIX) || defined(__NetBSD__)
+#if defined (__svr4__) || defined (_AIX) || defined (_M_UNIX) || defined (__NetBSD__) || defined (__OpenBSD__)
typedef char *__gnuc_va_list;
#else
typedef void *__gnuc_va_list;
/* On 4.3bsd-net2, make sure ansi.h is included, so we have
one less case to deal with in the following. */
-#if defined (__BSD_NET2__) || defined (____386BSD____) || defined (__FreeBSD__) || defined(__NetBSD__)
+#if defined (__BSD_NET2__) || defined (____386BSD____) || defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__)
#include <machine/ansi.h>
#endif
-/* $Id: sysdep.h,v 1.1.1.1 1995/10/18 08:39:54 deraadt Exp $ */
+/* $Id: sysdep.h,v 1.2 1997/02/17 09:08:33 niklas Exp $ */
#ifndef hosts_i386bsd_H
/* Intel 386 running any BSD Unix */
#include <fcntl.h>
(u.u_kproc.kp_eproc.e_vm.vm_maxsaddr + MAXSSIZ), which should work on
both BSDI and 386BSD, but that is believed not to work for BSD 4.4. */
-#if defined(__bsdi__) || defined(__NetBSD__)
+#if defined (__bsdi__) || defined (__NetBSD__) || defined (__OpenBSD__)
/* This seems to be the right thing. */
#define HOST_STACK_END_ADDR USRSTACK
#else
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: c-exp.y,v 1.1.1.1 1995/10/18 08:39:56 deraadt Exp $
+ $Id: c-exp.y,v 1.2 1997/02/17 09:11:23 niklas Exp $
*/
/* Parse a C expression from text in a string,
#include "language.h"
#include "c-lang.h"
-#ifndef __NetBSD__
+#if !defined (__NetBSD__) && !defined (__OpenBSD__)
/* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc),
as well as gratuitiously global symbol names, so we can have multiple
yacc generated parsers in gdb. Note that these are only the variables
#define yylloc c_lloc
#define yyreds c_reds /* With YYDEBUG defined */
#define yytoks c_toks /* With YYDEBUG defined */
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ || __OpenBSD__ */
#ifndef YYDEBUG
#define YYDEBUG 0 /* Default to no yydebug support */
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: ch-exp.y,v 1.1.1.1 1995/10/18 08:39:57 deraadt Exp $
+ $Id: ch-exp.y,v 1.2 1997/02/17 09:11:26 niklas Exp $
*/
/* Parse a Chill expression from text in a string,
#include "parser-defs.h"
#include "ch-lang.h"
-#ifndef __NetBSD__
+#if !defined (__NetBSD__) && !defined (__OpenBSD__)
/* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc),
as well as gratuitiously global symbol names, so we can have multiple
yacc generated parsers in gdb. Note that these are only the variables
#define yylloc chill_lloc
#define yyreds chill_reds /* With YYDEBUG defined */
#define yytoks chill_toks /* With YYDEBUG defined */
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ || __OpenBSD__ */
#ifndef YYDEBUG
#define YYDEBUG 0 /* Default to no yydebug support */
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: m2-exp.y,v 1.1.1.1 1995/10/18 08:40:01 deraadt Exp $
+ $Id: m2-exp.y,v 1.2 1997/02/17 09:11:29 niklas Exp $
*/
/* Parse a Modula-2 expression from text in a string,
#include "parser-defs.h"
#include "m2-lang.h"
-#ifndef __NetBSD__
+#if !defined (__NetBSD__) && !defined (__OpenBSD__)
/* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc),
as well as gratuitiously global symbol names, so we can have multiple
yacc generated parsers in gdb. Note that these are only the variables
#define yylloc m2_lloc
#define yyreds m2_reds /* With YYDEBUG defined */
#define yytoks m2_toks /* With YYDEBUG defined */
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ || __OpenBSD__ */
#ifndef YYDEBUG
#define YYDEBUG 0 /* Default to no yydebug support */