From 711c36558f50943c8342f25ad210281134887a3d Mon Sep 17 00:00:00 2001 From: "Brian M. Clapper" Date: Mon, 11 Jul 2016 18:30:05 -0400 Subject: os: Add poll emulation for mingw [v2] v2: rename as 'xserver_poll' to avoid potential library name collisions. Provide 'xserver_poll.h' which uses the system poll where available and falls back to this emulation otherwise. Autodetects when this is required, building the emulation only then Source: https://github.com/bmc/poll Signed-off-by: Adam Jackson --- os/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'os/Makefile.am') diff --git a/os/Makefile.am b/os/Makefile.am index fc49a73e3..c449076f8 100644 --- a/os/Makefile.am +++ b/os/Makefile.am @@ -7,6 +7,8 @@ XDMCP_SRCS = xdmcp.c XORG_SRCS = log.c BUSFAULT_SRCS = busfault.c +XSERVER_POLL_SRCS=xserver_poll.c + libos_la_SOURCES = \ WaitFor.c \ access.c \ @@ -32,6 +34,11 @@ if SECURE_RPC libos_la_SOURCES += $(SECURERPC_SRCS) endif +if POLL +else +libos_la_SOURCES += $(XSERVER_POLL_SRCS) +endif + if XDMCP libos_la_SOURCES += $(XDMCP_SRCS) endif -- cgit v1.2.3