Back to index

cell-binutils  2.17cvs20070401
sysdep.h
Go to the documentation of this file.
00001 /* Random host-dependent support code.
00002    Copyright 1995, 1997, 2000 Free Software Foundation, Inc.
00003    Written by Ken Raeburn.
00004 
00005    This file is part of libopcodes, the opcodes library.
00006 
00007    This program is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation; either version 2 of the License, or
00010    (at your option) any later version.
00011 
00012    This program is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015    GNU General Public License for more details.
00016 
00017    You should have received a copy of the GNU General Public License
00018    along with this program; if not, write to the Free Software
00019    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
00020    MA 02110-1301, USA.  */
00021 
00022 /* Do system-dependent stuff, mainly driven by autoconf-detected info.
00023 
00024    Well, some generic common stuff is done here too, like including
00025    ansidecl.h.  That's because the .h files in bfd/hosts files I'm
00026    trying to replace often did that.  If it can be dropped from this
00027    file (check in a non-ANSI environment!), it should be.  */
00028 
00029 #include "config.h"
00030 
00031 #include "ansidecl.h"
00032 
00033 #ifdef HAVE_STDLIB_H
00034 #include <stdlib.h>
00035 #endif
00036 
00037 #ifdef HAVE_STRING_H
00038 #include <string.h>
00039 #else
00040 #ifdef HAVE_STRINGS_H
00041 #include <strings.h>
00042 #endif
00043 #endif