From e5f7f542045e9df69322ded56623a09506d79b8f Mon Sep 17 00:00:00 2001 From: sabetts Date: Tue, 8 Apr 2003 22:18:03 +0000 Subject: (WAIT_ANY): define it if it isn't already define. --- ChangeLog | 4 ++++ src/main.c | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index d96b14e..40d8a6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-04-08 Shawn Betts + + * src/main.c (WAIT_ANY): define it if it isn't already define. + 2003-04-07 Shawn Betts * src/input.c (read_key): remove the local variable, key_presses. diff --git a/src/main.c b/src/main.c index 2e65b46..3374ece 100644 --- a/src/main.c +++ b/src/main.c @@ -37,6 +37,12 @@ #include "ratpoison.h" +/* Several systems seem not to have WAIT_ANY defined, so define it if + it isn't. */ +#ifndef WAIT_ANY +# define WAIT_ANY -1 +#endif + static void init_screen (screen_info *s, int screen_num); int alarm_signalled = 0; -- cgit v1.2.3