Search
lxdream.org :: lxdream/src/x86dasm/sysdep.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/x86dasm/sysdep.h
changeset 362:dc40e2064dc4
next755:ab873907b00e
author nkeynes
date Wed Nov 07 11:45:53 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Add crash handler to get a backtrace via gdb
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/x86dasm/sysdep.h Wed Nov 07 11:45:53 2007 +0000
1.3 @@ -0,0 +1,42 @@
1.4 +/* Random host-dependent support code.
1.5 + Copyright 1995, 1997, 2000 Free Software Foundation, Inc.
1.6 + Written by Ken Raeburn.
1.7 +
1.8 +This file is part of libopcodes, the opcodes library.
1.9 +
1.10 +This program is free software; you can redistribute it and/or modify
1.11 +it under the terms of the GNU General Public License as published by
1.12 +the Free Software Foundation; either version 2 of the License, or
1.13 +(at your option) any later version.
1.14 +
1.15 +This program is distributed in the hope that it will be useful,
1.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of
1.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.18 +GNU General Public License for more details.
1.19 +
1.20 +You should have received a copy of the GNU General Public License
1.21 +along with this program; if not, write to the Free Software
1.22 +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
1.23 +
1.24 +/* Do system-dependent stuff, mainly driven by autoconf-detected info.
1.25 +
1.26 + Well, some generic common stuff is done here too, like including
1.27 + ansidecl.h. That's because the .h files in bfd/hosts files I'm
1.28 + trying to replace often did that. If it can be dropped from this
1.29 + file (check in a non-ANSI environment!), it should be. */
1.30 +
1.31 +#include "config.h"
1.32 +
1.33 +#include "ansidecl.h"
1.34 +
1.35 +#ifdef HAVE_STDLIB_H
1.36 +#include <stdlib.h>
1.37 +#endif
1.38 +
1.39 +#ifdef HAVE_STRING_H
1.40 +#include <string.h>
1.41 +#else
1.42 +#ifdef HAVE_STRINGS_H
1.43 +#include <strings.h>
1.44 +#endif
1.45 +#endif
.