diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-18 23:41:33 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-18 23:47:10 +0000 |
commit | 70042400fd95f613b9547d0a72d6288abcc2357d (patch) | |
tree | 57cb7b603bbf3bc71eb0f7c8b05f67925686e8a4 /src/sna/compiler.h | |
parent | f938cd15990d1a851b9d92414545dda37f00c5db (diff) |
sna/gen7: minor tidy of redundant defines
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/compiler.h')
-rw-r--r-- | src/sna/compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/compiler.h b/src/sna/compiler.h index 2c8b43da..ad1313b6 100644 --- a/src/sna/compiler.h +++ b/src/sna/compiler.h @@ -48,4 +48,6 @@ #define VG_CLEAR(s) VG(memset(&s, 0, sizeof(s))) +#define COMPILE_TIME_ASSERT(E) ((void)sizeof(char[1 - 2*!(E)])) + #endif /* _SNA_COMPILER_H_ */ |