tFixes for compilation on Unix systems - vaccinewars - be a doctor and try to vaccinate the world (HTM) git clone git://src.adamsgaard.dk/vaccinewars (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit e004f9d87b91fbb8991f5740cbaef65a80d62ea4 (DIR) parent b07a0994d9818454a7d2184a9fa9b06932e348e9 (HTM) Author: Ben Webb <ben@salilab.org> Date: Wed, 7 Nov 2001 18:47:21 +0000 Fixes for compilation on Unix systems Diffstat: M src/serverside.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- (DIR) diff --git a/src/serverside.c b/src/serverside.c t@@ -89,7 +89,9 @@ int MetaUpdateTimeout; int MetaMinTimeout; gboolean WantQuit=FALSE; +#ifdef CYGWIN static SERVICE_STATUS_HANDLE scHandle; +#endif /* Do we want to update the player details on the metaserver when the timeout expires? */ t@@ -699,8 +701,9 @@ static void StartServer(void) { GString *errstr; #ifndef CYGWIN struct sigaction sact; -#endif +#else SERVICE_STATUS status; +#endif Scanner=g_scanner_new(&ScannerConfig); Scanner->input_name="(stdin)";