URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [insight/] [opcodes/] [sysdep.h] - Blame information for rev 1765
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
578 |
markom |
/* Random host-dependent support code.
|
2 |
|
|
Copyright 1995, 1997, 2000 Free Software Foundation, Inc.
|
3 |
|
|
Written by Ken Raeburn.
|
4 |
|
|
|
5 |
|
|
This file is part of libopcodes, the opcodes library.
|
6 |
|
|
|
7 |
|
|
This program is free software; you can redistribute it and/or modify
|
8 |
|
|
it under the terms of the GNU General Public License as published by
|
9 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
10 |
|
|
(at your option) any later version.
|
11 |
|
|
|
12 |
|
|
This program is distributed in the hope that it will be useful,
|
13 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
|
|
GNU General Public License for more details.
|
16 |
|
|
|
17 |
|
|
You should have received a copy of the GNU General Public License
|
18 |
|
|
along with this program; if not, write to the Free Software
|
19 |
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
20 |
|
|
|
21 |
|
|
/* Do system-dependent stuff, mainly driven by autoconf-detected info.
|
22 |
|
|
|
23 |
|
|
Well, some generic common stuff is done here too, like including
|
24 |
|
|
ansidecl.h. That's because the .h files in bfd/hosts files I'm
|
25 |
|
|
trying to replace often did that. If it can be dropped from this
|
26 |
|
|
file (check in a non-ANSI environment!), it should be. */
|
27 |
|
|
|
28 |
|
|
#include "config.h"
|
29 |
|
|
|
30 |
|
|
#include "ansidecl.h"
|
31 |
|
|
|
32 |
|
|
#ifdef HAVE_STDLIB_H
|
33 |
|
|
#include <stdlib.h>
|
34 |
|
|
#endif
|
35 |
|
|
|
36 |
|
|
#ifdef HAVE_STRING_H
|
37 |
|
|
#include <string.h>
|
38 |
|
|
#else
|
39 |
|
|
#ifdef HAVE_STRINGS_H
|
40 |
|
|
#include <strings.h>
|
41 |
|
|
#endif
|
42 |
|
|
#endif
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.