aboutsummaryrefslogtreecommitdiff
path: root/gas/config/ho-hpux.h
blob: 38099e020dc594846cd3422449ae4eaed745183d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* 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 */