diff options
| author | Paul Buetow <paul@buetow.org> | 2008-11-07 22:11:06 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-11-07 22:11:06 +0000 |
| commit | a46655f67043af257e70715903badf9d4321c4de (patch) | |
| tree | 556997ba868ac106c6f92703e6e35875e4872dc2 /src/defines.h | |
| parent | fbff89d91c2a13155423bd83d2bbefd5d6891e23 (diff) | |
one step further for arrays.
Diffstat (limited to 'src/defines.h')
| -rw-r--r-- | src/defines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defines.h b/src/defines.h index 19c0179..fdcd701 100644 --- a/src/defines.h +++ b/src/defines.h @@ -66,6 +66,7 @@ #define true (_Bool)1 #endif +#define UNLESS(x) if (!x) // Makes the compiler always happy (end of switch statements) :) #define NO_DEFAULT default: if (0) |
