diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-08-12 21:50:36 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-08-12 21:52:39 +0100 |
commit | de982b4d3e9c7e6b6f100e383d647f0edc9321a3 (patch) | |
tree | 40ec7004a0df0b5c6d55d12b7c3bb20501ad21c8 /utils | |
parent | 786a5186aa38897170317d453bf49b55cf8e70a3 (diff) | |
download | netsurf-de982b4d3e9c7e6b6f100e383d647f0edc9321a3.tar.gz netsurf-de982b4d3e9c7e6b6f100e383d647f0edc9321a3.tar.bz2 |
fix windows build format specifiers
add install target for windows - creates installer rather than actually installing
Diffstat (limited to 'utils')
-rw-r--r-- | utils/config.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 |