diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-12-29 16:30:31 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-12-29 17:36:46 -0800 |
| commit | aabe3ed301081aacce11408749c26b6baae3faaa (patch) | |
| tree | c7e72e15c94221d0326204513fb666e6a7bd45a1 /src/platform/posix/CMakeLists.txt | |
| parent | 60ff324b1e6e5124dbbfefec732940512ed40f87 (diff) | |
| download | nng-aabe3ed301081aacce11408749c26b6baae3faaa.tar.gz nng-aabe3ed301081aacce11408749c26b6baae3faaa.tar.bz2 nng-aabe3ed301081aacce11408749c26b6baae3faaa.zip | |
udp: use a bounce buffer if we lack sendmsg or recvmsg
This includes checks to determine if those functions are present,
and a test case to verify that scatter gather with UDP works.
Diffstat (limited to 'src/platform/posix/CMakeLists.txt')
| -rw-r--r-- | src/platform/posix/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platform/posix/CMakeLists.txt b/src/platform/posix/CMakeLists.txt index 95d9a56a..b8fb665a 100644 --- a/src/platform/posix/CMakeLists.txt +++ b/src/platform/posix/CMakeLists.txt @@ -29,6 +29,8 @@ if (NNG_PLATFORM_POSIX) nng_check_func(getentropy NNG_HAVE_GETENTROPY) nng_check_func(getrandom NNG_HAVE_GETRANDOM) nng_check_func(arc4random_buf NNG_HAVE_ARC4RANDOM) + nng_check_func(recvmsg NNG_HAVE_RECVMSG) + nng_check_func(sendmsg NNG_HAVE_SENDMSG) nng_check_func(clock_gettime NNG_HAVE_CLOCK_GETTIME_LIBC) if (NNG_HAVE_CLOCK_GETTIME_LIBC) |
