aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/cgen-ops.h')
-rw-r--r--sim/common/cgen-ops.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/common/cgen-ops.h b/sim/common/cgen-ops.h
index ef750ef..9f33d70 100644
--- a/sim/common/cgen-ops.h
+++ b/sim/common/cgen-ops.h
@@ -24,9 +24,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <assert.h>
+/* TODO: This should get moved into sim-inline.h. */
#if defined (__GNUC__) && ! defined (SEMOPS_DEFINE_INLINE)
#define SEMOPS_DEFINE_INLINE
-#define SEMOPS_INLINE extern inline
+#define SEMOPS_INLINE EXTERN_INLINE
#else
#define SEMOPS_INLINE
#endif