diff options
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 f807cb3e..d6920c64 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 |