From 45f3f141850a0ac07c31906748752571652683df Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 16 Apr 2018 11:40:28 -0700 Subject: fixes #344 nn_poll() legacy API missing This includes the test from legacy libnanomsg and a man page. We have refactored the message queue notification system so that it uses nni_pollable, leading we hope to a more consistent system, and reducing the code size and complexity. We also fixed the size of the NN_RCVFD and NN_SNDFD so that they are a SOCKET on Windows systems, rather than an integer. This addresses 64-bit compilation problems. --- tests/compat_testutil.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/compat_testutil.h') diff --git a/tests/compat_testutil.h b/tests/compat_testutil.h index 745f5621..ce5968a2 100644 --- a/tests/compat_testutil.h +++ b/tests/compat_testutil.h @@ -40,6 +40,7 @@ #define nn_err_abort abort #define nn_assert assert #define errno_assert assert +#define wsa_assert assert #define alloc_assert(x) assert(x != NULL) #if defined __GNUC__ || defined __llvm__ || defined __clang__ -- cgit v1.2.3-70-g09d2