diff options
| author | Benjamin LaHaise <bcrl@toomuch.toronto.redhat.com> | 2002-10-03 09:25:43 -0400 |
|---|---|---|
| committer | Benjamin LaHaise <bcrl@toomuch.toronto.redhat.com> | 2002-10-03 09:25:43 -0400 |
| commit | 27f1b89521739a17ff644b883c9771d651f3d4cb (patch) | |
| tree | bc49ebef13280da289a978843d1244d6f7bf25c7 /include/linux | |
| parent | 8e80645f1557c2d1505568ceb6a09b9325c3e730 (diff) | |
buildbug.diff
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/kernel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 44c38b134498..2def6ba70584 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -201,6 +201,9 @@ struct sysinfo { #define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0) +extern void BUILD_BUG(void); +#define BUILD_BUG_ON(condition) do { if (condition) BUILD_BUG(); } while(0) + /* Trap pasters of __FUNCTION__ at compile-time */ #if __GNUC__ > 2 || __GNUC_MINOR__ >= 95 #define __FUNCTION__ (__func__) |
