diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-06-10 23:09:08 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-06-10 23:09:08 +0200 |
commit | 2e0f24d00b85c617400413bb2d179fd1028420c4 (patch) | |
tree | 95488f07f3a5e6a8558cbde11d2372d1c53ca246 /storage_text.c | |
parent | b6cd9e9fe0aa86e83fc4a43b3db2240839e2103a (diff) | |
parent | 6a72a574df321683ee51f7cef14255cbb4cdbeba (diff) |
Merge support for cross-compiling for Windows using the mingw32 compiler.
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 5ee6438d..78f7e3bd 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 static void text_init (void) { |