Search
lxdream.org :: lxdream/src/x86dasm/sysdep.h
lxdream 0.9.1
released Jun 29
Download Now
filename src/x86dasm/sysdep.h
changeset 755:ab873907b00e
prev362:dc40e2064dc4
author nkeynes
date Fri Feb 24 21:11:58 2012 +1000 (12 years ago)
permissions -rw-r--r--
last change Add preprocessing support to genglsl
file annotate diff log raw
nkeynes@362
     1
/* Random host-dependent support code.
nkeynes@362
     2
   Copyright 1995, 1997, 2000 Free Software Foundation, Inc.
nkeynes@362
     3
   Written by Ken Raeburn.
nkeynes@362
     4
nkeynes@362
     5
This file is part of libopcodes, the opcodes library.
nkeynes@362
     6
nkeynes@362
     7
This program is free software; you can redistribute it and/or modify
nkeynes@362
     8
it under the terms of the GNU General Public License as published by
nkeynes@362
     9
the Free Software Foundation; either version 2 of the License, or
nkeynes@362
    10
(at your option) any later version.
nkeynes@362
    11
nkeynes@362
    12
This program is distributed in the hope that it will be useful,
nkeynes@362
    13
but WITHOUT ANY WARRANTY; without even the implied warranty of
nkeynes@362
    14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
nkeynes@362
    15
GNU General Public License for more details.
nkeynes@362
    16
nkeynes@362
    17
You should have received a copy of the GNU General Public License
nkeynes@362
    18
along with this program; if not, write to the Free Software
nkeynes@362
    19
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
nkeynes@362
    20
nkeynes@362
    21
/* Do system-dependent stuff, mainly driven by autoconf-detected info.
nkeynes@362
    22
nkeynes@362
    23
   Well, some generic common stuff is done here too, like including
nkeynes@362
    24
   ansidecl.h.  That's because the .h files in bfd/hosts files I'm
nkeynes@362
    25
   trying to replace often did that.  If it can be dropped from this
nkeynes@362
    26
   file (check in a non-ANSI environment!), it should be.  */
nkeynes@362
    27
nkeynes@755
    28
#include "lxdream.h"
nkeynes@362
    29
nkeynes@755
    30
#include "x86dasm/ansidecl.h"
nkeynes@362
    31
nkeynes@362
    32
#ifdef HAVE_STDLIB_H
nkeynes@362
    33
#include <stdlib.h>
nkeynes@362
    34
#endif
nkeynes@362
    35
nkeynes@362
    36
#ifdef HAVE_STRING_H
nkeynes@362
    37
#include <string.h>
nkeynes@362
    38
#else
nkeynes@362
    39
#ifdef HAVE_STRINGS_H
nkeynes@362
    40
#include <strings.h>
nkeynes@362
    41
#endif
nkeynes@362
    42
#endif
.