Merge pull request #130 from devnexen/last_nit_before_rel

Suppress noisy little build compiler plugins warning on platforms != …
This commit is contained in:
van Hauser 2019-12-05 15:00:33 +01:00 committed by GitHub
commit 08f2a35b9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ typedef int64_t s64;
#define AFL_SR(s) (srandom(s)) #define AFL_SR(s) (srandom(s))
#define AFL_R(x) (random() % (x)) #define AFL_R(x) (random() % (x))
#else #else
#define AFL_SR(s) #define AFL_SR(s) ((void)s)
#define AFL_R(x) (arc4random_uniform(x)) #define AFL_R(x) (arc4random_uniform(x))
#endif #endif
#else #else
@ -91,7 +91,7 @@ typedef int64_t s64;
#define SR(s) (srandom(s)) #define SR(s) (srandom(s))
#define R(x) (random() % (x)) #define R(x) (random() % (x))
#else #else
#define SR(s) #define SR(s) ((void)s)
#define R(x) (arc4random_uniform(x)) #define R(x) (arc4random_uniform(x))
#endif #endif
#endif /* ^AFL_LLVM_PASS */ #endif /* ^AFL_LLVM_PASS */