]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/common/defs.h
Update copyright year range in header of all files managed by GDB
[thirdparty/binutils-gdb.git] / sim / common / defs.h
1 /* The configure generated header settings.
2
3 Copyright 2002-2024 Free Software Foundation, Inc.
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
25 /* Include gnulib's various configure tests. */
26 #include "gnulib/config.h"
27
28 /* This comes from gnulib. Export it until ansidecl.h handles it. */
29 #define ATTRIBUTE_FALLTHROUGH _GL_ATTRIBUTE_FALLTHROUGH
30
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
40 /* Include common sim's various configure tests. */
41 #ifndef SIM_TOPDIR_BUILD
42 #include "../config.h"
43 #else
44 #include "config.h"
45 #endif
46
47 #endif
48
49 #endif