diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-22 01:15:35 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-22 01:15:35 +0300 |
commit | bcf840df2bc1d04bfadc1351793f9bdbeb9f137b (patch) | |
tree | 8cbb5400d8766ec7392eefd7379d17f91dc03278 /sal/systools/win32/uwinapi/sntprintf.c | |
parent | 838d6d86c83fc319ceffe7152611436c2c21200f (diff) |
MinGW cross-compilation fixes
Diffstat (limited to 'sal/systools/win32/uwinapi/sntprintf.c')
-rw-r--r-- | sal/systools/win32/uwinapi/sntprintf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/systools/win32/uwinapi/sntprintf.c b/sal/systools/win32/uwinapi/sntprintf.c index 144882bddc63..424e5bd3a3a3 100644 --- a/sal/systools/win32/uwinapi/sntprintf.c +++ b/sal/systools/win32/uwinapi/sntprintf.c @@ -4,6 +4,10 @@ #include <stdarg.h> #include <stdio.h> +#ifdef __MINGW32__ +/* MinGW-w64 doesn't have a _tcsinc() inline or library function */ +#define _MB_MAP_DIRECT +#endif #include <tchar.h> #include <systools/win32/snprintf.h> |