X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/e5568f75972dfc723778653c11cb6b4dc825716a..0c530ab8987f0ae6a1a3d9284f40182b88852816:/iokit/IOKit/assert.h diff --git a/iokit/IOKit/assert.h b/iokit/IOKit/assert.h index 575395cc1..70c7361d3 100644 --- a/iokit/IOKit/assert.h +++ b/iokit/IOKit/assert.h @@ -22,6 +22,7 @@ #ifndef _IO_ASSERT_H_ #define _IO_ASSERT_H_ +#include #ifdef __cplusplus extern "C" { @@ -39,5 +40,11 @@ extern "C" { } #endif + +#if( !defined( OSCompileAssert ) ) +# define OSCompileAssert( TEST ) \ + extern int OSCompileAssertFailed[ ( TEST ) ? 1 : -1 ] __unused; +#endif + #endif /* _IO_ASSERT_H_ */