]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-private.h
Implement notmuch_tags_t on top of new notmuch_terms_t
[notmuch] / notmuch-private.h
index 53e99bdd8a23634e815b2c62141c0039be17f8e4..602d1a9ece954905c468934e25e8563bbb35f3db 100644 (file)
@@ -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.
  */