[linux-kernel] Move ZSTD_STATIC_ASSERT to zstd_internal.h

This commit is contained in:
Nick Terrell
2017-05-17 14:51:50 -07:00
parent 67101c6c77
commit 06fa1b0560
3 changed files with 11 additions and 4 deletions
@@ -50,6 +50,10 @@
if (ERR_isError(errcod)) \
return ERROR(e); \
} /* check and send Error code */
#define ZSTD_STATIC_ASSERT(c) \
{ \
enum { ZSTD_static_assert = 1 / (int)(!!(c)) }; \
}
/*-*************************************
* Common constants