From 3ad3e050704de2ca343848a46dd913b3b84bc287 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 10 Mar 2018 12:53:37 -0800 Subject: fixes #276 decouple NNG and zerotier definitions --- tests/zt.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/zt.c b/tests/zt.c index 4009588a..1952ef1b 100644 --- a/tests/zt.c +++ b/tests/zt.c @@ -39,10 +39,6 @@ mkdir(const char *path, int mode) #include #endif // WIN32 -#ifndef NNG_TRANSPORT_ZEROTIER -#define nng_zt_network_status_ok 0 -#endif - static int check_props(nng_msg *msg) { @@ -94,7 +90,7 @@ check_props(nng_msg *msg) z = sizeof(s); s = 0; So(nng_pipe_getopt(p, NNG_OPT_ZT_NETWORK_STATUS, &s, &z) == 0); - So(s == nng_zt_network_status_ok); + So(s == NNG_ZT_STATUS_UP); }); Convey("Ping properties work", { -- cgit v1.2.3-70-g09d2