From 573e08a643bac0af91df90582638f1f765dab429 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 15 Jan 2017 14:48:09 -0800 Subject: Compile static *and* shared libraries. Test code needs to use the static libraries so that they can get access to the entire set of symbols, including private ones that are not exported. --- src/platform/windows/win_rand.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/platform/windows/win_rand.c') 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 -- cgit v1.2.3-70-g09d2