aboutsummaryrefslogtreecommitdiff
path: root/src/platform/posix/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-04-14 14:47:35 -0700
committerGarrett D'Amore <garrett@damore.org>2024-04-14 18:52:56 -0700
commit7ca54553bb3e6a801982d6778b41ecd535b63d2a (patch)
tree3a9f98c91028a4532d7adeb06e01dea706711787 /src/platform/posix/CMakeLists.txt
parentd11b162ac67268e77c39d633972bc3e05d3f7995 (diff)
downloadnng-7ca54553bb3e6a801982d6778b41ecd535b63d2a.tar.gz
nng-7ca54553bb3e6a801982d6778b41ecd535b63d2a.tar.bz2
nng-7ca54553bb3e6a801982d6778b41ecd535b63d2a.zip
Added realtime clock support, and better timestamping.
The realtime clock is not (yet) exposed for user applications, but it is used for logging timestamps accurately.
Diffstat (limited to 'src/platform/posix/CMakeLists.txt')
-rw-r--r--src/platform/posix/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/posix/CMakeLists.txt b/src/platform/posix/CMakeLists.txt
index a00ffa50..857c340a 100644
--- a/src/platform/posix/CMakeLists.txt
+++ b/src/platform/posix/CMakeLists.txt
@@ -63,6 +63,7 @@ if (NNG_PLATFORM_POSIX)
nng_check_sym(atomic_flag_test_and_set stdatomic.h NNG_HAVE_STDATOMIC)
nng_check_sym(socketpair sys/socket.h NNG_HAVE_SOCKETPAIR)
nng_check_sym(AF_INET6 netinet/in.h NNG_HAVE_INET6)
+ nng_check_sym(timespec_get time.h NNG_HAVE_TIMESPEC_GET)
nng_sources(
posix_impl.h