projects
/
apple
/
xnu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xnu-792.10.96.tar.gz
[apple/xnu.git]
/
iokit
/
IOKit
/
assert.h
diff --git
a/iokit/IOKit/assert.h
b/iokit/IOKit/assert.h
index 575395cc1f6e0522b161e5c554b62d43d830711a..70c7361d316b4398bdab0a8e09e24a0a9635bd5b 100644
(file)
--- a/
iokit/IOKit/assert.h
+++ b/
iokit/IOKit/assert.h
@@
-22,6
+22,7
@@
#ifndef _IO_ASSERT_H_
#define _IO_ASSERT_H_
#ifndef _IO_ASSERT_H_
#define _IO_ASSERT_H_
+#include <sys/cdefs.h>
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-39,5
+40,11
@@
extern "C" {
}
#endif
}
#endif
+
+#if( !defined( OSCompileAssert ) )
+# define OSCompileAssert( TEST ) \
+ extern int OSCompileAssertFailed[ ( TEST ) ? 1 : -1 ] __unused;
+#endif
+
#endif /* _IO_ASSERT_H_ */
#endif /* _IO_ASSERT_H_ */