From 4146a07de5f44f3ea00a3ef0026098b28e7451de Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 17 Dec 2005 02:25:32 +0100 Subject: Fix win32 build using mingw32 on linux (no ssl and yahoo yet though) --- storage_text.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'storage_text.c') diff --git a/storage_text.c b/storage_text.c index ed32b73f..d3823cac 100644 --- a/storage_text.c +++ b/storage_text.c @@ -26,6 +26,14 @@ #define BITLBEE_CORE #include "bitlbee.h" #include "crypting.h" +#ifdef _WIN32 +# define umask _umask +# define mode_t int +#endif + +#ifndef F_OK +#define F_OK 0 +#endif /* DO NOT USE THIS FUNCTION IN NEW CODE. This * function is here merely because the save/load code still uses -- cgit v1.2.3