aboutsummaryrefslogtreecommitdiff
path: root/sys/ia64/include/critical.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ia64/include/critical.h')
-rw-r--r--sys/ia64/include/critical.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ia64/include/critical.h b/sys/ia64/include/critical.h
index 08c7d61f9f1f..26f2edd4e796 100644
--- a/sys/ia64/include/critical.h
+++ b/sys/ia64/include/critical.h
@@ -46,7 +46,7 @@ __BEGIN_DECLS
*/
void cpu_critical_fork_exit(void);
-#ifdef __GNUC__
+#ifdef __CC_SUPPORTS___INLINE
/*
* cpu_critical_enter:
@@ -76,12 +76,12 @@ cpu_critical_exit(struct thread *td)
}
-#else /* !__GNUC__ */
+#else /* !__CC_SUPPORTS___INLINE */
void cpu_critical_enter(struct thread *td)
void cpu_critical_exit(struct thread *td)
-#endif /* __GNUC__ */
+#endif /* __CC_SUPPORTS___INLINE */
__END_DECLS