aboutsummaryrefslogtreecommitdiff
path: root/src/platform/windows/win_debug.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-15 14:48:09 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-15 14:48:09 -0800
commit573e08a643bac0af91df90582638f1f765dab429 (patch)
treead745bb81608147304b1bb92aeb682353feedcbd /src/platform/windows/win_debug.c
parent694ad48a9c3b4c3d3a91d323a1601c2c4ebacba9 (diff)
downloadnng-573e08a643bac0af91df90582638f1f765dab429.tar.gz
nng-573e08a643bac0af91df90582638f1f765dab429.tar.bz2
nng-573e08a643bac0af91df90582638f1f765dab429.zip
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.
Diffstat (limited to 'src/platform/windows/win_debug.c')
-rw-r--r--src/platform/windows/win_debug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/platform/windows/win_debug.c b/src/platform/windows/win_debug.c
index 00fd6493..cf8ad9eb 100644
--- a/src/platform/windows/win_debug.c
+++ b/src/platform/windows/win_debug.c
@@ -78,4 +78,9 @@ nni_plat_errno(int errnum)
}
+#else
+
+// Suppress empty symbols warnings in ranlib.
+int nni_win_debug_not_used = 0;
+
#endif // PLATFORM_WINDOWS