X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-private.h;fp=notmuch-private.h;h=602d1a9ece954905c468934e25e8563bbb35f3db;hp=53e99bdd8a23634e815b2c62141c0039be17f8e4;hb=28dd86af05688e96f7da8297099230b77d34f17a;hpb=9ec68aa9c4694bdf1b948bb93299e0270ec071ae diff --git a/notmuch-private.h b/notmuch-private.h index 53e99bdd..602d1a9e 100644 --- a/notmuch-private.h +++ b/notmuch-private.h @@ -45,6 +45,8 @@ NOTMUCH_BEGIN_DECLS #include "xutil.h" +#define COMPILE_TIME_ASSERT(pred) ((void)sizeof(char[1 - 2*!(pred)])) + /* Thanks to Andrew Tridgell's (SAMBA's) talloc for this definition of * unlikely. The talloc source code comes to us via the GNU LGPL v. 3. */