lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev minore SH_EX tweak


From: Leonid Pauzner
Subject: lynx-dev minore SH_EX tweak
Date: Wed, 25 Aug 1999 22:32:58 +0400 (MSD)

* Tweak ifdef'ing of `debug_delay' (only available with SH_EX _and_ WIN_EX)



diff -u old/lyglobal.h ./lyglobal.h
--- old/lyglobal.h      Mon Aug 16 11:30:08 1999
+++ ./lyglobal.h        Mon Aug 16 12:11:14 1999
@@ -422,8 +422,10 @@
 #ifdef SH_EX
 extern BOOLEAN show_cfg;
 extern BOOLEAN mail_is_blat;
-extern BOOLEAN no_table_center;
+#ifdef WIN_EX
 extern int     debug_delay;
+#endif
+extern BOOLEAN no_table_center;
 #endif

 #if !defined(__CYGWIN__) && defined(__CYGWIN32__)
diff -u old/lymain.c ./lymain.c
--- old/lymain.c        Mon Aug 16 11:30:10 1999
+++ ./lymain.c  Mon Aug 16 12:17:50 1999
@@ -307,7 +307,9 @@
 #ifdef SH_EX
 PUBLIC BOOLEAN show_cfg = FALSE;
 PUBLIC BOOLEAN mail_is_blat = TRUE;
+#ifdef WIN_EX
 PUBLIC int     debug_delay = 0;                /* 1998/10/06 (Tue) 08:41:20 */
+#endif
 PUBLIC BOOLEAN no_table_center = FALSE;        /* 1998/10/09 (Fri) 15:12:49 */
 #endif /* SH_EX */

@@ -2839,7 +2841,11 @@
 #ifdef _MSC_VER
     printf("Compiled by Microsoft Visual C++ (%s %s).\n", __DATE__, __TIME__);
 #else
+#ifdef __DJGPP__
+    printf("Compiled by DJGPP (%s %s).\n", __DATE__, __TIME__);
+#else
     printf("Compiled at (%s %s).\n", __DATE__, __TIME__);
+#endif /* __DJGPP__ */
 #endif /* _MSC_VER */
 #endif /* __BORLANDC__ */
 #endif /* __CYGWIN__ */
@@ -2965,7 +2971,7 @@
       "incremental display stages with MessageSecs delay"
    ),
 #endif
-#ifdef SH_EX
+#if defined(SH_EX) && defined(WIN_EX)
    PARSE_SET(
       "delay",         NEED_INT_ARG,           &debug_delay,
       "=NNN\nset the NNN msec delay at statusline message"




reply via email to

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