diff options
Diffstat (limited to 'sys/sparc64/include/critical.h')
-rw-r--r-- | sys/sparc64/include/critical.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sparc64/include/critical.h b/sys/sparc64/include/critical.h index 381ec453602a..999a5fddc208 100644 --- a/sys/sparc64/include/critical.h +++ b/sys/sparc64/include/critical.h @@ -46,7 +46,7 @@ __BEGIN_DECLS */ void cpu_critical_fork_exit(void); -#ifdef __GNUC__ +#ifdef __CC_SUPPORTS___INLINE /* * cpu_critical_enter: @@ -79,12 +79,12 @@ cpu_critical_exit(struct thread *td) wrpr(pil, td->td_md.md_savecrit, 0); } -#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 |