diff options
Diffstat (limited to 'src/platform/windows/win_rand.c')
| -rw-r--r-- | src/platform/windows/win_rand.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/platform/windows/win_rand.c b/src/platform/windows/win_rand.c index 8bca5927..a1e381d8 100644 --- a/src/platform/windows/win_rand.c +++ b/src/platform/windows/win_rand.c @@ -30,4 +30,9 @@ nni_plat_seed_prng(void *buf, size_t bufsz) } +#else + +// Suppress empty symbols warnings in ranlib. +int nni_win_rand_not_used = 0; + #endif // PLATFORM_WINDOWS |
