lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev lynx2.8.2dev.19 patch #2 (DJGPP build)


From: Leonid Pauzner
Subject: lynx-dev lynx2.8.2dev.19 patch #2 (DJGPP build)
Date: Fri, 5 Mar 1999 01:21:49 +0300 (MSK)

Apparently, dev19 issue warnings for DEBUG redefinition with DJGPP
due to recent change (probably DEBUG should be #undef'ed first?):

Index: WWW/Library/Implementation/HTUtils.h
--- 2.8.2dev.17/WWW/Library/Implementation/HTUtils.h    Mon Feb  8 03:32:59 1999
+++ 2.8.2dev.18/WWW/Library/Implementation/HTUtils.h    Thu Mar  4 03:39:45 1999
@@ -5,9 +5,9 @@

  */

-#ifndef DEBUG
-#define DEBUG   /* Noone ever turns this off as trace is too important */
-#endif          /* Keep option for really small memory applications tho */
+#ifndef NO_LYNX_TRACE
+#define DEBUG   /* Turns on trace; turn off for smaller binary */
+#endif


So I remove -DDEBUG symbol which is redundant anyway -
patch for  WWW/DJGPP/ directory:


diff -u old/makefile ./makefile
--- old/makefile        Fri Mar  5 00:34:24 1999
+++ ./makefile  Fri Mar  5 01:07:40 1999
@@ -7,7 +7,7 @@
 # The ASIS repository's name for the machine we are on
 #ASIS_MACH = hardware/os

-CFLAGS = -O3 -DUSE_ZLIB -DDOSPATH -DNOUSERS -DDEBUG -DDISP_PARTIAL \
+CFLAGS = -O3 -DUSE_ZLIB -DDOSPATH -DNOUSERS -DDISP_PARTIAL \
 -I../Implementation \
 -I../../../djgpp/tcplib/include \
 -I../../../djgpp/tcplib/include/tcp \
diff -u old/makefile.sla ./makefile.sla
--- old/makefile.sla    Mon Jan 18 04:29:20 1999
+++ ./makefile.sla      Fri Mar  5 01:07:50 1999
@@ -7,7 +7,7 @@
 # The ASIS repository's name for the machine we are on
 #ASIS_MACH = hardware/os

-CFLAGS = -O3 -DUSE_SLANG -DUSE_ZLIB -DDOSPATH -DNOUSERS -DDEBUG -DDISP_PARTIAL 
\
+CFLAGS = -O3 -DUSE_SLANG -DUSE_ZLIB -DDOSPATH -DNOUSERS -DDISP_PARTIAL \
 -I../Implementation \
 -I../../../djgpp/tcplib/include \
 -I../../../djgpp/tcplib/include/tcp \



reply via email to

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