"Michael Stefaniuc" mstefani@redhat.com wrote:
+/*
- Produce a compile error if we pass a dstlen < 0 to this functions.
- BUILD_BUG_ON() shamelessly ripped from the Linux Kernel.
- */
+#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
C_ASSERT does a similar thing.