aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc/defs.h')
-rw-r--r--sim/ppc/defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/ppc/defs.h b/sim/ppc/defs.h
index 276063d..ab7a142 100644
--- a/sim/ppc/defs.h
+++ b/sim/ppc/defs.h
@@ -23,6 +23,9 @@
/* Include gnulib's various configure tests. */
#include "gnulib/config.h"
+/* This comes from gnulib. Export it until ansidecl.h handles it. */
+#define ATTRIBUTE_FALLTHROUGH _GL_ATTRIBUTE_FALLTHROUGH
+
/* Reset macros that our config.h will provide. */
#undef PACKAGE
#undef PACKAGE_BUGREPORT