Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] (PR#4043) [meta] GTK2 client compilation on Mingw32
Home

[Freeciv-Dev] (PR#4043) [meta] GTK2 client compilation on Mingw32

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#4043) [meta] GTK2 client compilation on Mingw32
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Tue, 13 May 2003 17:54:34 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[per - Sun Apr 20 16:43:27 2003]:

> Also, here are some warnings we might want to have a shot at
> eliminating:
> 
> mapview.c: In function `put_nuke_mushroom_pixmaps':
> mapview.c:1531: warning: implicit declaration of function `sleep'

This patch removes every single occurence of 'sleep(1)' and replaces it
with 'myusleep(1000000)'.

'sleep' is POSIX but seemingly some systems do not have it.
'myusleep' has implementations for all platforms supported by Freeciv.
Including Windows (uses the 'Sleep' function).

Attachment: sleep.diff
Description: sleep.diff


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#4043) [meta] GTK2 client compilation on Mingw32, Vasco Alexandre da Silva Costa <=