old-cross-binutils/gas/config/ho-hpux.h

47 lines
1.5 KiB
C

/* ho-hpux.h -- Header to compile the assembler under HP-UX
Copyright (C) 1988, 1991, 1992 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. */
/* This header file contains the #defines specific
to HPUX changes sent me by cph@zurich.ai.mit.edu */
#ifndef hpux
#define hpux
#endif
#ifdef setbuffer
#undef setbuffer
#endif /* setbuffer */
/* When using cc on HP/UX 8.07, an assert condition can not contain a
string literal. */
#ifndef __GNUC__
#define BROKEN_ASSERT
#endif
#define setbuffer(stream, buf, size)
/* Some basic include files. Avoid including ho-sysv.h as it defines
malloc and free and the declarations do not match what HPUX puts
in its include files! Declaring such system functions is not all
that good of an idea. */
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
/* end of ho-hpux.h */