[Box Backup-dev] COMMIT r255 - in box/chris/win32/vc2005-compile-fixes/lib: common compress server win32

Martin Ebourne boxbackup-dev@fluffy.co.uk
Wed, 21 Dec 2005 00:08:21 +0000


On Tue, 2005-12-20 at 22:59 +0000, subversion@fluffy.co.uk wrote:
> Author: chris
> Date: 2005-12-20 22:59:29 +0000 (Tue, 20 Dec 2005)
> New Revision: 255
> 
> -#include <unistd.h>
> +#ifndef WIN32
> +#include <unistd.h>
> +#endif

Please don't use a platform check for header files. Please add a
configure test (AC_CHECK_HEADERS) and use its define.

Cheers,

Martin.