diff options
Diffstat (limited to 'src/platform/posix/posix_config.h')
| -rw-r--r-- | src/platform/posix/posix_config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/platform/posix/posix_config.h b/src/platform/posix/posix_config.h index d2a5eb90..1fe4d1a9 100644 --- a/src/platform/posix/posix_config.h +++ b/src/platform/posix/posix_config.h @@ -42,6 +42,8 @@ #include <time.h> +#ifdef PLATFORM_POSIX + // 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 @@ -60,3 +62,5 @@ #define NNG_USE_POSIX_POLLQ_POLL 1 #define NNG_USE_POSIX_RESOLV_GAI 1 + +#endif // PLATFORM_POSIX
\ No newline at end of file |
