From de982b4d3e9c7e6b6f100e383d647f0edc9321a3 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 12 Aug 2012 21:50:36 +0100 Subject: fix windows build format specifiers add install target for windows - creates installer rather than actually installing --- utils/config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'utils') diff --git a/utils/config.h b/utils/config.h index cd64683d5..b8c2950dc 100644 --- a/utils/config.h +++ b/utils/config.h @@ -116,13 +116,23 @@ char *realpath(const char *path, char *resolved_path); #define WITH_MMAP #endif +/* gtk */ #if defined(gtk) #define WITH_THEME_INSTALL #endif +/* amiga */ #if defined(__amigaos4__) || defined(__AMIGA__) || \ defined(nsatari) #define NO_IPV6 #endif +/* windows */ +#if (defined(_WIN32)) +#define SSIZET_FMT "Iu" +#else +#define SSIZET_FMT "zd" +#define O_BINARY 0 +#endif + #endif -- cgit v1.2.3