aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc/inline.h')
-rw-r--r--sim/ppc/inline.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/ppc/inline.h b/sim/ppc/inline.h
index 646e696..51af04f 100644
--- a/sim/ppc/inline.h
+++ b/sim/ppc/inline.h
@@ -62,6 +62,14 @@
#endif
#endif
+#if MODEL_INLINE
+#if MODEL_INLINE == 2
+#define INLINE_MODEL static INLINE
+#else
+#define INLINE_MODEL static
+#endif
+#endif
+
#if BITS_INLINE
#if BITS_INLINE == 2
#define INLINE_BITS static INLINE