From e0b4daf3ad240ecf70af73c13b6ca9b1062a507f Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 14 Sep 2014 16:21:04 +0200 Subject: input: use libwaio for pipe input on Windows Use libwaio to read from pipes (stdin or named pipes) on Windows. This liberates us from nasty issues, such as pipes (as created by most programs) not being possible to read in a non-blocking or event-driven way. Although it would be possible to do that in a somewhat sane way on Vista+, it's still not easy, and on XP it's especially hard. libwaio handles these things for us. Move pipe.c to pipe-unix.c, and remove Windows specific things. Also adjust the input.c code to make this work cleanly. --- old-configure | 1 + 1 file changed, 1 insertion(+) (limited to 'old-configure') diff --git a/old-configure b/old-configure index 8958857930..d9f8c14790 100755 --- a/old-configure +++ b/old-configure @@ -961,6 +961,7 @@ cat > $TMPC << EOF #define HAVE_SYS_MMAN_H 1 #define HAVE_NANOSLEEP 1 #define HAVE_SDL1 0 +#define HAVE_WAIO 0 #define DEFAULT_CDROM_DEVICE "/dev/cdrom" #define DEFAULT_DVD_DEVICE "/dev/dvd" -- cgit v1.2.3