diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2018-02-20 00:44:42 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2018-02-20 00:44:42 +0000 |
commit | f498a252d549aec6eb894a6355c451f52e2eb632 (patch) | |
tree | b4f5335aebd2e86f321b5cd57dc38fdb93af6ebd /WWW/Library/Implementation/HTUtils.h | |
parent | 9194f6cf75175976385fb46cf5721b28f397f433 (diff) | |
download | lynx-snapshots-f498a252d549aec6eb894a6355c451f52e2eb632.tar.gz |
snapshot of project "lynx", label v2-8-9dev_16f
Diffstat (limited to 'WWW/Library/Implementation/HTUtils.h')
-rw-r--r-- | WWW/Library/Implementation/HTUtils.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/HTUtils.h b/WWW/Library/Implementation/HTUtils.h index 4f2c4670..9f49d92c 100644 --- a/WWW/Library/Implementation/HTUtils.h +++ b/WWW/Library/Implementation/HTUtils.h @@ -1,5 +1,5 @@ /* - * $LynxId: HTUtils.h,v 1.125 2017/07/07 20:49:16 Martijn.Dekker Exp $ + * $LynxId: HTUtils.h,v 1.126 2018/02/19 21:37:37 tom Exp $ * * Utility macros for the W3 code library * MACROS FOR GENERAL USE @@ -625,6 +625,16 @@ extern int WWW_TraceMask; #endif /* + * MinGW-32 uses only 32-bit DLL, which limits printing. + */ +#if defined(__MINGW32__) +#undef PRI_off_t +#undef CAST_off_t +#define PRI_off_t "ld" +#define CAST_off_t(n) (long)(n) +#endif + +/* * Printing-format for "time_t", as well as cast needed to fit. */ #if defined(HAVE_LONG_LONG) && defined(HAVE_INTTYPES_H) && defined(SIZEOF_TIME_T) |