xref: /openbmc/qemu/include/libdecnumber/dconfig.h (revision 72ac97cdfc0592b567cb62582300c0d707701bb1)
1*72ac97cdSTom Musta /* Configure decNumber for either host or target.
2*72ac97cdSTom Musta    Copyright (C) 2008 Free Software Foundation, Inc.
3*72ac97cdSTom Musta 
4*72ac97cdSTom Musta    This file is part of GCC.
5*72ac97cdSTom Musta 
6*72ac97cdSTom Musta    GCC is free software; you can redistribute it and/or modify it under
7*72ac97cdSTom Musta    the terms of the GNU General Public License as published by the Free
8*72ac97cdSTom Musta    Software Foundation; either version 2, or (at your option) any later
9*72ac97cdSTom Musta    version.
10*72ac97cdSTom Musta 
11*72ac97cdSTom Musta    In addition to the permissions in the GNU General Public License,
12*72ac97cdSTom Musta    the Free Software Foundation gives you unlimited permission to link
13*72ac97cdSTom Musta    the compiled version of this file into combinations with other
14*72ac97cdSTom Musta    programs, and to distribute those combinations without any
15*72ac97cdSTom Musta    restriction coming from the use of this file.  (The General Public
16*72ac97cdSTom Musta    License restrictions do apply in other respects; for example, they
17*72ac97cdSTom Musta    cover modification of the file, and distribution when not linked
18*72ac97cdSTom Musta    into a combine executable.)
19*72ac97cdSTom Musta 
20*72ac97cdSTom Musta    GCC is distributed in the hope that it will be useful, but WITHOUT ANY
21*72ac97cdSTom Musta    WARRANTY; without even the implied warranty of MERCHANTABILITY or
22*72ac97cdSTom Musta    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
23*72ac97cdSTom Musta    for more details.
24*72ac97cdSTom Musta 
25*72ac97cdSTom Musta    You should have received a copy of the GNU General Public License
26*72ac97cdSTom Musta    along with GCC; see the file COPYING.  If not, write to the Free
27*72ac97cdSTom Musta    Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
28*72ac97cdSTom Musta    02110-1301, USA.  */
29*72ac97cdSTom Musta 
30*72ac97cdSTom Musta #ifdef IN_LIBGCC2
31*72ac97cdSTom Musta 
32*72ac97cdSTom Musta #include "tconfig.h"
33*72ac97cdSTom Musta #include "coretypes.h"
34*72ac97cdSTom Musta #include "tm.h"
35*72ac97cdSTom Musta 
36*72ac97cdSTom Musta #ifndef LIBGCC2_WORDS_BIG_ENDIAN
37*72ac97cdSTom Musta #define LIBGCC2_WORDS_BIG_ENDIAN WORDS_BIG_ENDIAN
38*72ac97cdSTom Musta #endif
39*72ac97cdSTom Musta 
40*72ac97cdSTom Musta #ifndef LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
41*72ac97cdSTom Musta #define LIBGCC2_FLOAT_WORDS_BIG_ENDIAN LIBGCC2_WORDS_BIG_ENDIAN
42*72ac97cdSTom Musta #endif
43*72ac97cdSTom Musta 
44*72ac97cdSTom Musta #if LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
45*72ac97cdSTom Musta #define WORDS_BIGENDIAN 1
46*72ac97cdSTom Musta #endif
47*72ac97cdSTom Musta 
48*72ac97cdSTom Musta #else
49*72ac97cdSTom Musta 
50*72ac97cdSTom Musta #include "config.h"
51*72ac97cdSTom Musta 
52*72ac97cdSTom Musta #endif
53