lib/isc/random.c: Suppress preprocessorErrorDirective error from Cppcheck

This commit is contained in:
Ondřej Surý 2019-10-03 12:49:53 +02:00
parent d26c36a338
commit 61b3ab76a5

View file

@ -144,6 +144,7 @@ isc_random_get(uint32_t *val) {
*val = ((rand() >> 4) & 0x000007ff) | ((rand() << 7) & 0x003ff800) |
((rand() << 18) & 0xffc00000);
#else
/* cppcheck-suppress preprocessorErrorDirective */
#error RAND_MAX is too small
#endif
#else