[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]
[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).
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 <=
|
|