lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev [PATCH 2.8.3dev.10] Wishful patch for OS/2 build


From: Ilya Zakharevich
Subject: lynx-dev [PATCH 2.8.3dev.10] Wishful patch for OS/2 build
Date: Thu, 7 Oct 1999 02:34:36 -0400 (EDT)

Without the following patch lynx will not compile on OS/2:

--- lynx_cfg.h~ Sun Oct  3 22:11:34 1999
+++ lynx_cfg.h  Sun Oct  3 22:25:56 1999
@@ -92,6 +92,11 @@
 #define HAVE_STDLIB_H 1
 /* #undef HAVE_STPCPY */               /* defined by AM_GNU_GETTEXT */
 /* #undef HAVE_STRCASECMP */           /* defined by AM_GNU_GETTEXT */
+#ifdef HAVE_STRICMP
+#  define HAVE_STRCASECMP              /* defined by AM_GNU_GETTEXT */
+#  define strcasecmp   stricmp
+#  define strncasecmp  strnicmp
+#endif
 #define HAVE_STRCHR 1          /* defined by AM_GNU_GETTEXT */
 #define HAVE_STRERROR 1
 #define HAVE_STRING_H 1

But of course, first configure should test for stricmp, and this chunk
should better be moved to a different location. ;-)

Ilya

reply via email to

[Prev in Thread] Current Thread [Next in Thread]