aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mpt
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/mpt
parentf685f62c9869f2c8181041ae3e3d87a09d2d3fbf (diff)
Notes
Diffstat (limited to 'sys/dev/mpt')
-rw-r--r--sys/dev/mpt/mpilib/mpi_type.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/mpt/mpilib/mpi_type.h b/sys/dev/mpt/mpilib/mpi_type.h
index c10cb92bbc8df..2fc483204def5 100644
--- a/sys/dev/mpt/mpilib/mpi_type.h
+++ b/sys/dev/mpt/mpilib/mpi_type.h
@@ -46,6 +46,9 @@
#ifndef MPI_TYPE_H
#define MPI_TYPE_H
+#ifndef _SYS_CDEFS_H_
+#error this file needs sys/cdefs.h as a prerequisite
+#endif
/*******************************************************************************
* Define MPI_POINTER if it hasn't already been defined. By default MPI_POINTER
@@ -68,7 +71,8 @@ typedef unsigned char U8;
typedef signed short S16;
typedef unsigned short U16;
-#if defined(unix) || defined(__arm) || defined(ALPHA) || defined(__GNUC__) || defined(__INTEL_COMPILER)
+#if defined(unix) || defined(__arm) || defined(ALPHA) \
+ || defined(__CC_INT_IS_32BIT)
typedef signed int S32;
typedef unsigned int U32;