aboutsummaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-21 14:32:56 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-21 14:32:56 -0800
commit8d3f410962fed3b4a8e6e3962ebf3bb55f5f2b93 (patch)
treedb0b0d32d6939a390c4cd630d33f91075ef5d63e /src/platform
parent0e2e1c40f4b22d940886de6e8555eeef9c076808 (diff)
downloadnng-8d3f410962fed3b4a8e6e3962ebf3bb55f5f2b93.tar.gz
nng-8d3f410962fed3b4a8e6e3962ebf3bb55f5f2b93.tar.bz2
nng-8d3f410962fed3b4a8e6e3962ebf3bb55f5f2b93.zip
Add more platforms (the *BSDs, SunOS/illumos) and update docs slightly.
Diffstat (limited to 'src/platform')
-rw-r--r--src/platform/posix/posix_config.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/platform/posix/posix_config.h b/src/platform/posix/posix_config.h
index e1bafd5c..234d57cc 100644
--- a/src/platform/posix/posix_config.h
+++ b/src/platform/posix/posix_config.h
@@ -42,16 +42,6 @@
#include <time.h>
-// These are things about systems we know about.
-#ifdef __APPLE__
-// MacOS X used to lack CLOCK_MONOTONIC. Now it has it, but its
-// buggy, condition variables set to use it wake early.
-#define NNG_USE_CLOCKID CLOCK_REALTIME
-// macOS 10.12 has getentropy(), but arc4random() is good enough
-// and works on older releases.
-#define NNG_USE_ARC4RANDOM 1
-#endif // __APPLE__
-
// It should never hurt to use DEVURANDOM, since if the device does not
// exist then we won't open it. (Provided: it would be bad if the device
// exists but has somehow very very different semantics. We don't know