diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-17 02:25:32 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-12-17 02:25:32 +0100 |
commit | 4146a07de5f44f3ea00a3ef0026098b28e7451de (patch) | |
tree | bd449c4153b9c8aed8217693eb3790eefd1914d0 /storage_text.c | |
parent | bd69a219c0a618354fd80a98dd0d9a04fee755e0 (diff) |
Fix win32 build using mingw32 on linux (no ssl and yahoo yet though)
Diffstat (limited to 'storage_text.c')
-rw-r--r-- | storage_text.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 |