xref: /openbmc/qemu/include/libdecnumber/dconfig.h (revision 1be5a765c08cee3a9587c8a8d3fc2ea247b13f9c)
172ac97cdSTom Musta /* Configure decNumber for either host or target.
272ac97cdSTom Musta    Copyright (C) 2008 Free Software Foundation, Inc.
372ac97cdSTom Musta 
472ac97cdSTom Musta    This file is part of GCC.
572ac97cdSTom Musta 
672ac97cdSTom Musta    GCC is free software; you can redistribute it and/or modify it under
772ac97cdSTom Musta    the terms of the GNU General Public License as published by the Free
872ac97cdSTom Musta    Software Foundation; either version 2, or (at your option) any later
972ac97cdSTom Musta    version.
1072ac97cdSTom Musta 
1172ac97cdSTom Musta    In addition to the permissions in the GNU General Public License,
1272ac97cdSTom Musta    the Free Software Foundation gives you unlimited permission to link
1372ac97cdSTom Musta    the compiled version of this file into combinations with other
1472ac97cdSTom Musta    programs, and to distribute those combinations without any
1572ac97cdSTom Musta    restriction coming from the use of this file.  (The General Public
1672ac97cdSTom Musta    License restrictions do apply in other respects; for example, they
1772ac97cdSTom Musta    cover modification of the file, and distribution when not linked
1872ac97cdSTom Musta    into a combine executable.)
1972ac97cdSTom Musta 
2072ac97cdSTom Musta    GCC is distributed in the hope that it will be useful, but WITHOUT ANY
2172ac97cdSTom Musta    WARRANTY; without even the implied warranty of MERCHANTABILITY or
2272ac97cdSTom Musta    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
2372ac97cdSTom Musta    for more details.
2472ac97cdSTom Musta 
2572ac97cdSTom Musta    You should have received a copy of the GNU General Public License
2672ac97cdSTom Musta    along with GCC; see the file COPYING.  If not, write to the Free
2772ac97cdSTom Musta    Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
2872ac97cdSTom Musta    02110-1301, USA.  */
2972ac97cdSTom Musta 
3072ac97cdSTom Musta 
31*e03b5686SMarc-André Lureau #if HOST_BIG_ENDIAN
3272ac97cdSTom Musta #define WORDS_BIGENDIAN 1
337275585bSTom Musta #else
347275585bSTom Musta #define WORDS_BIGENDIAN 0
3572ac97cdSTom Musta #endif
3672ac97cdSTom Musta 
377275585bSTom Musta #ifndef DECDPUN
387275585bSTom Musta #define DECDPUN 3
3972ac97cdSTom Musta #endif
40