summaryrefslogtreecommitdiffstats
path: root/test/asynctest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/asynctest.c')
-rw-r--r--test/asynctest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/asynctest.c b/test/asynctest.c
index a0e2e1d11e..9ce23fbec2 100644
--- a/test/asynctest.c
+++ b/test/asynctest.c
@@ -75,6 +75,8 @@
# define ASYNC_NULL
#endif
+#ifndef ASYNC_NULL
+
static int ctr = 0;
static ASYNC_JOB *currjob = NULL;
@@ -233,6 +235,7 @@ static int test_ASYNC_get_wait_fd()
ASYNC_free_pool();
return 1;
}
+#endif
int main(int argc, char **argv)
{