aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/include/critical.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include/critical.h')
-rw-r--r--sys/powerpc/include/critical.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/powerpc/include/critical.h b/sys/powerpc/include/critical.h
index cc0768af4d3b..405bc57f0422 100644
--- a/sys/powerpc/include/critical.h
+++ b/sys/powerpc/include/critical.h
@@ -46,7 +46,7 @@ __BEGIN_DECLS
*/
void cpu_critical_fork_exit(void);
-#ifdef __GNUC__
+#ifdef __CC_SUPPORTS___INLINE
/*
* cpu_critical_enter:
@@ -77,12 +77,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