Attached patch fixes a build failure on Panther (Mac OS X 10.3.9)[*]. It
has PRId64 but not SCNd64, so the latter needs to be checked for as well.

- M.

[*] Yes, I know how ancient that is. :)
diff -ur lynx2.8.9dev.15.orig/WWW/Library/Implementation/HTUtils.h 
lynx2.8.9dev.15/WWW/Library/Implementation/HTUtils.h
--- lynx2.8.9dev.15.orig/WWW/Library/Implementation/HTUtils.h   Sun Jul  2 
22:40:14 2017
+++ lynx2.8.9dev.15/WWW/Library/Implementation/HTUtils.h        Fri Jul  7 
17:50:11 2017
@@ -585,7 +585,7 @@
  * Printing/scanning-formats for "off_t", as well as cast needed to fit.
  */
 #if defined(HAVE_LONG_LONG) && defined(HAVE_INTTYPES_H) && 
defined(SIZEOF_OFF_T)
-#if (SIZEOF_OFF_T == 8) && defined(PRId64)
+#if (SIZEOF_OFF_T == 8) && defined(PRId64) && defined(SCNd64)
 
 #define PRI_off_t      PRId64
 #define SCN_off_t      SCNd64
_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to