aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cx/machdep.h
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2005-03-02 21:33:29 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2005-03-02 21:33:29 +0000
commita5f50ef9e43b28e15a7e2a2aec73754456619f17 (patch)
tree69c98a86a28838e983d8eca9ba158f46450df8c1 /sys/dev/cx/machdep.h
parentf685f62c9869f2c8181041ae3e3d87a09d2d3fbf (diff)
downloadsrc-a5f50ef9e43b28e15a7e2a2aec73754456619f17.tar.gz
src-a5f50ef9e43b28e15a7e2a2aec73754456619f17.zip
Notes
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 /**/