about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTUtils.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2018-02-20 00:44:42 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2018-02-20 00:44:42 +0000
commitf498a252d549aec6eb894a6355c451f52e2eb632 (patch)
treeb4f5335aebd2e86f321b5cd57dc38fdb93af6ebd /WWW/Library/Implementation/HTUtils.h
parent9194f6cf75175976385fb46cf5721b28f397f433 (diff)
downloadlynx-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.h12
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)