summaryrefslogtreecommitdiff
path: root/src/OS/os.h-Darwin
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-10-23 22:25:40 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2018-10-23 22:27:43 +0100
commit02c30a32c6d1aeab0d3bc5f747016041a687c9dd (patch)
tree8c5ac4b5c60c32235d600f47015f095dbf891553 /src/OS/os.h-Darwin
parent590faf89a2dd33a5f97f8e685efd019ac9c96e1e (diff)
Build: probe for broken poll() timing implementation
Diffstat (limited to 'src/OS/os.h-Darwin')
-rw-r--r--src/OS/os.h-Darwin4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/OS/os.h-Darwin b/src/OS/os.h-Darwin
index d0a1a092f..67aeac913 100644
--- a/src/OS/os.h-Darwin
+++ b/src/OS/os.h-Darwin
@@ -7,8 +7,6 @@
#define PAM_H_IN_PAM
#define SIOCGIFCONF_GIVES_ADDR
-/* OSX 10.2 does not have poll.h, 10.3 does emulate it badly. */
-#define NO_POLL_H
#define F_FREESP O_TRUNC
typedef struct flock flock_t;
@@ -17,7 +15,7 @@ typedef struct flock flock_t;
Consider reducing MAX_LOCALHOST_NUMBER */
#ifndef _BSD_SOCKLEN_T_
-#define _BSD_SOCKLEN_T_ int32_t /* socklen_t (duh) */
+# define _BSD_SOCKLEN_T_ int32_t /* socklen_t (duh) */
#endif
/* Settings for handling IP options. There's no netinet/ip_var.h. The IP