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