From 6305e16ab64e42fd9791819d416a6e3534439b0b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 20 Aug 2017 10:31:09 -0700 Subject: Conditional platform inclusion cleanups. We only compile files that are appropriate for the platform. (We still have guards in place, to allow for a future single .C file to be built from all the sources.) We also remove the subsystem defines; if a new platform needs to deviate from POSIX in ways beyond what we intended here, then that platform should just copy those parts into a new platform directory, rather than cross including portions from POSIX. --- tests/synch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/synch.c') diff --git a/tests/synch.c b/tests/synch.c index a49e27e1..d861f04d 100644 --- a/tests/synch.c +++ b/tests/synch.c @@ -20,7 +20,7 @@ struct notifyarg { nni_cv cv; }; -#ifdef PLATFORM_POSIX +#ifdef NNG_PLATFORM_POSIX #ifndef NDEBUG #define SYNC_FALLBACK 1 #endif -- cgit v1.2.3-70-g09d2