[Freeciv-Dev] select on OS/2
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hello,
freeciv 1.8.1 maps usleep() to select() if the first is not found.
Using EMX on OS/2 this is the case. However select() is declared
in sys/select.h not in the common un*x place(s).
A suitable enhancement to configure and a patch like
--- shared.c.orig Tue Jul 27 01:12:58 1999
+++ shared.c Tue Jul 27 01:15:28 1999
@@ -22,6 +22,9 @@
#include <sys/time.h>
#include <sys/types.h>
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
#include <unistd.h>
#include "log.h"
would do.
(not to mention I could offer a native system call as an alternative ...;-)
------------------------------------------------------------------
Alexander Mai
st002279@xxxxxxxxxxxxxxxxxxxxxx
------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] select on OS/2,
Alexander Mai <=
|
|