diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-09-09 02:22:48 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-09-09 02:24:00 -0400 |
commit | a13ab747e7abc67fca3568195bf943708261a39e (patch) | |
tree | 1b8d80dff1df7cf0e96b3e2a6bf5de2d3d761f0e /sim/ppc/defs.h | |
parent | ee73abf25e8431f4ea8c95629622cf23515c1d07 (diff) | |
download | gdb-a13ab747e7abc67fca3568195bf943708261a39e.zip gdb-a13ab747e7abc67fca3568195bf943708261a39e.tar.gz gdb-a13ab747e7abc67fca3568195bf943708261a39e.tar.bz2 |
sim: ppc: enable use of gnulib
All other sim arches are using this now, so finish up the logic in
the ppc arch to enable gnulib usage here too.
Diffstat (limited to 'sim/ppc/defs.h')
-rw-r--r-- | sim/ppc/defs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sim/ppc/defs.h b/sim/ppc/defs.h index 9a89844..c37f8c6 100644 --- a/sim/ppc/defs.h +++ b/sim/ppc/defs.h @@ -20,6 +20,18 @@ #ifndef DEFS_H #define DEFS_H +/* Include gnulib's various configure tests. */ +#include "gnulib/config.h" + +/* Reset macros that our config.h will provide. */ +#undef PACKAGE +#undef PACKAGE_BUGREPORT +#undef PACKAGE_NAME +#undef PACKAGE_STRING +#undef PACKAGE_TARNAME +#undef PACKAGE_URL +#undef PACKAGE_VERSION + /* Include arch-specific sim's various configure tests. */ #include "config.h" |