summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-05-08 11:36:03 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-05-08 11:36:03 -0700
commit05b119d78e1c6a4db563b2a976cee0173489f9b6 (patch)
tree170475abdee93b56c6415db860059a67f47135b1
parentc879dab58f82f4789f27933c22706c84015f8684 (diff)
Apple: Cleaned up some Apple definitions
-rw-r--r--Xosdefs.h2
-rw-r--r--Xpoll.h.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Xosdefs.h b/Xosdefs.h
index 14971c4..903a5a0 100644
--- a/Xosdefs.h
+++ b/Xosdefs.h
@@ -156,7 +156,7 @@ in this Software without prior written authorization from The Open Group.
#endif
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) \
- || defined(__Darwin__) || defined(__DragonFly__)
+ || defined(__APPLE__) || defined(__DragonFly__)
# ifndef CSRG_BASED
# define CSRG_BASED
# endif
diff --git a/Xpoll.h.in b/Xpoll.h.in
index 3940489..33fdad4 100644
--- a/Xpoll.h.in
+++ b/Xpoll.h.in
@@ -91,7 +91,7 @@ from The Open Group.
#ifdef CSRG_BASED
#include <sys/param.h>
-# if BSD < 199103 || defined(__APPLE__)
+# if BSD < 199103
typedef long fd_mask;
# endif
#endif