aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cx/machdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cx/machdep.h')
-rw-r--r--sys/dev/cx/machdep.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/cx/machdep.h b/sys/dev/cx/machdep.h
index c4affc46923a..a425af5b717d 100644
--- a/sys/dev/cx/machdep.h
+++ b/sys/dev/cx/machdep.h
@@ -75,6 +75,10 @@
# include <sys/systm.h>
# define memset(a,b,c) bzero (a,c)
# define port_t int
+
+#ifndef _SYS_CDEFS_H_
+#error this file needs sys/cdefs.h as a prerequisite
+#endif
#endif
#endif
@@ -82,7 +86,7 @@
#endif
#ifndef inline
-# if __GNUC__ >= 2 || defined(__INTEL_COMPILER)
+# ifdef __CC_SUPPORTS___INLINE__
# define inline __inline__
# else
# define inline /**/