ossp-pkg/pth/pth.h.in 1.141 -> 1.142
--- pth.h.in 2004/07/13 10:50:49 1.141
+++ pth.h.in 2004/09/12 11:36:13 1.142
@@ -338,8 +338,15 @@
#define PTH_FAKE_POLL @PTH_FAKE_POLL@
#if !(PTH_FAKE_POLL)
/* use vendor poll(2) environment */
+#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE_set
+#endif
#include <poll.h>
+#ifdef _XOPEN_SOURCE_set
+#undef _XOPEN_SOURCE_set
+#undef _XOPEN_SOURCE
+#endif
#ifndef POLLRDNORM
#define POLLRDNORM POLLIN
#endif
|
|