]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/common/defs.h
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / sim / common / defs.h
CommitLineData
6df01ab8
MF
1/* The configure generated header settings.
2
1d506c26 3 Copyright 2002-2024 Free Software Foundation, Inc.
6df01ab8
MF
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
17
18/* This file should be included by every .c file before any other header. */
19
20#ifndef DEFS_H
21#define DEFS_H
22
23#ifdef HAVE_CONFIG_H
24
5c9e84c2
MF
25/* Include gnulib's various configure tests. */
26#include "gnulib/config.h"
27
29f1ffea
MF
28/* This comes from gnulib. Export it until ansidecl.h handles it. */
29#define ATTRIBUTE_FALLTHROUGH _GL_ATTRIBUTE_FALLTHROUGH
30
5c9e84c2
MF
31/* Reset macros that our config.h will provide. */
32#undef PACKAGE
33#undef PACKAGE_BUGREPORT
34#undef PACKAGE_NAME
35#undef PACKAGE_STRING
36#undef PACKAGE_TARNAME
37#undef PACKAGE_URL
38#undef PACKAGE_VERSION
39
b15c5d7a 40/* Include common sim's various configure tests. */
bc438b3e 41#ifndef SIM_TOPDIR_BUILD
b15c5d7a 42#include "../config.h"
52d37d2c
MF
43#else
44#include "config.h"
6df01ab8
MF
45#endif
46
47#endif
dd8e16ea
MF
48
49#endif