util: remove extra semicolon from static_assert() polyfill

This commit is contained in:
Bert Belder 2018-05-17 00:41:19 -07:00
parent 2e882a5dfe
commit a919a57ad2
No known key found for this signature in database
GPG Key ID: 7A77887B2E2ED461

View File

@ -28,7 +28,7 @@ typedef intptr_t ssize_t;
/* Polyfill `static_assert` for some versions of clang and gcc. */
#if (defined(__clang__) || defined(__GNUC__)) && !defined(static_assert)
#define static_assert(condition, message) typedef __attribute__( \
(__unused__)) int __static_assert_##__LINE__[(condition) ? 1 : -1];
(__unused__)) int __static_assert_##__LINE__[(condition) ? 1 : -1]
#endif
#endif /* WEPOLL_UTIL_H_ */