Re: [HACKERS] pg_arch.c call to sleep()

2004-11-08 Thread Magnus Hagander
We have the following warning on Windows: pgarch.c:349: warning: implicit declaration of function `sleep' To fix it we could include the right header (which appears to be stdlib.h in the Windows/Mingw case), or we could replace the call by a call to pg_usleep(). stdlib.h is

[HACKERS] pg_arch.c call to sleep()

2004-11-07 Thread Andrew Dunstan
We have the following warning on Windows: pgarch.c:349: warning: implicit declaration of function `sleep' To fix it we could include the right header (which appears to be stdlib.h in the Windows/Mingw case), or we could replace the call by a call to pg_usleep(). I'm inclined to do the latter,

Re: [HACKERS] pg_arch.c call to sleep()

2004-11-07 Thread Tom Lane
Andrew Dunstan [EMAIL PROTECTED] writes: We have the following warning on Windows: pgarch.c:349: warning: implicit declaration of function `sleep' To fix it we could include the right header (which appears to be stdlib.h in the Windows/Mingw case), or we could replace the call by a call to

Re: [HACKERS] pg_arch.c call to sleep()

2004-11-07 Thread Andrew Dunstan
Tom Lane wrote: Andrew Dunstan [EMAIL PROTECTED] writes: We have the following warning on Windows: pgarch.c:349: warning: implicit declaration of function `sleep' To fix it we could include the right header (which appears to be stdlib.h in the Windows/Mingw case), or we could replace

Re: [HACKERS] pg_arch.c call to sleep()

2004-11-07 Thread Bruce Momjian
Tom Lane wrote: Andrew Dunstan [EMAIL PROTECTED] writes: We have the following warning on Windows: pgarch.c:349: warning: implicit declaration of function `sleep' To fix it we could include the right header (which appears to be stdlib.h in the Windows/Mingw case), or we could replace