diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-07 18:17:51 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-07-07 18:17:51 -0700 |
| commit | 021d09af1375834fe9aaca916e60dcd2ad3be845 (patch) | |
| tree | e3a4c8d2e0eddd69b79308b67922725901752ee9 /src/platform/posix/posix_config.h | |
| parent | c6df64d90ff9799b9f5970c4897e2b9a55e2ce69 (diff) | |
| download | nng-021d09af1375834fe9aaca916e60dcd2ad3be845.tar.gz nng-021d09af1375834fe9aaca916e60dcd2ad3be845.tar.bz2 nng-021d09af1375834fe9aaca916e60dcd2ad3be845.zip | |
Start of progress on Windows. Name resolution and IOCP work begins.
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 |
