about summary refs log tree commit diff stats
path: root/WWW/Library
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library')
-rw-r--r--WWW/Library/Implementation/HTUtils.h5
-rw-r--r--WWW/Library/Implementation/makefile.in6
-rw-r--r--WWW/Library/Implementation/www_tcp.h8
3 files changed, 6 insertions, 13 deletions
diff --git a/WWW/Library/Implementation/HTUtils.h b/WWW/Library/Implementation/HTUtils.h
index 3d66cabe..5a140275 100644
--- a/WWW/Library/Implementation/HTUtils.h
+++ b/WWW/Library/Implementation/HTUtils.h
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTUtils.h,v 1.135 2023/11/05 23:09:43 tom Exp $
+ * $LynxId: HTUtils.h,v 1.137 2024/03/17 23:04:27 tom Exp $
  *
  * Utility macros for the W3 code library
  * MACROS FOR GENERAL USE
@@ -140,7 +140,6 @@ char *alloca();
 /* suppress inadvertent use of gettext in makeuctb when cross-compiling */
 #ifdef DONT_USE_GETTEXT
 #undef HAVE_GETTEXT
-#undef HAVE_LIBGETTEXT_H
 #undef HAVE_LIBINTL_H
 #endif
 
@@ -618,7 +617,7 @@ extern int WWW_TraceMask;
 
 #ifndef PRI_off_t
 #define GUESS_PRI_off_t
-#if (SIZEOF_OFF_T == SIZEOF_LONG)
+#if defined(SIZEOF_OFF_T) && defined(SIZEOF_LONG) && (SIZEOF_OFF_T == SIZEOF_LONG)
 #define PRI_off_t	"ld"
 #define SCN_off_t	"ld"
 #define CAST_off_t(n)	(long)(n)
diff --git a/WWW/Library/Implementation/makefile.in b/WWW/Library/Implementation/makefile.in
index 0b467d72..44de1c71 100644
--- a/WWW/Library/Implementation/makefile.in
+++ b/WWW/Library/Implementation/makefile.in
@@ -1,4 +1,4 @@
-# $LynxId: makefile.in,v 1.35 2021/07/16 20:01:00 tom Exp $
+# $LynxId: makefile.in,v 1.36 2024/03/17 22:13:00 tom Exp $
 # Make WWW under unix for a.n.other unix system (bsd)
 # Use this as a template
 
@@ -31,15 +31,13 @@ RANLIB		= @RANLIB@
 o		= .@OBJEXT@
 x		= @EXEEXT@
 
-INTLDIR_CPPFLAGS= @INTLDIR_CPPFLAGS@ -I$(top_srcdir)/intl
-
 CPP		= @CPP@
 CPPOPTS		= $(DEFS) $(LYFLAGS) \
 		-I../../.. \
 		-I../../../src \
 		-I$(top_srcdir) \
 		-I$(top_srcdir)/src \
-		$(INTLDIR_CPPFLAGS) -I$(WWWINC) $(EXTRA_CPPFLAGS) $(CPPFLAGS)
+		-I$(WWWINC) $(EXTRA_CPPFLAGS) $(CPPFLAGS)
 
 LY_CFLAGS	= @CFLAGS@ @EXTRA_CFLAGS@
 CFLAGS		= $(CPPOPTS) $(LY_CFLAGS)
diff --git a/WWW/Library/Implementation/www_tcp.h b/WWW/Library/Implementation/www_tcp.h
index ef754c82..1bc20e0c 100644
--- a/WWW/Library/Implementation/www_tcp.h
+++ b/WWW/Library/Implementation/www_tcp.h
@@ -1,5 +1,5 @@
 /*                System dependencies in the W3 library
- * $LynxId: www_tcp.h,v 1.61 2018/12/26 12:30:14 tom Exp $
+ * $LynxId: www_tcp.h,v 1.63 2024/03/17 23:04:27 tom Exp $
  *
                                    SYSTEM DEPENDENCIES
 
@@ -804,7 +804,7 @@ typedef unsigned short mode_t;
 
 #if defined(VMS)
 #define socklen_t unsigned
-#else
+#elif defined(_WINDOWS)
 #define socklen_t int		/* used for default LY_SOCKLEN definition */
 #endif
 
@@ -814,10 +814,6 @@ typedef unsigned short mode_t;
 #include <libintl.h>
 #endif
 
-#ifdef HAVE_LIBGETTEXT_H
-#include <libgettext.h>
-#endif
-
 #define N_(s) s
 
 #ifndef HAVE_GETTEXT