X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..527f99514973766e9c0382a4d8550dfb00f54939:/iokit/IOKit/assert.h diff --git a/iokit/IOKit/assert.h b/iokit/IOKit/assert.h index 9b372d235..f7212675f 100644 --- a/iokit/IOKit/assert.h +++ b/iokit/IOKit/assert.h @@ -28,6 +28,7 @@ #ifndef _IO_ASSERT_H_ #define _IO_ASSERT_H_ +#include #ifdef __cplusplus extern "C" { @@ -45,5 +46,11 @@ extern "C" { } #endif + +#if( !defined( OSCompileAssert ) ) +# define OSCompileAssert( TEST ) \ + extern int OSCompileAssertFailed[ ( TEST ) ? 1 : -1 ] __unused; +#endif + #endif /* _IO_ASSERT_H_ */