changeset 10049:aef1cc7e56a0

(init_sys_modes): Tes AIXHFT, not AIX. (reset_sys_modes): Test AIXHFT. (hft_init, hft_reset): Test AIXHFT, not AIX.
author Richard M. Stallman <rms@gnu.org>
date Tue, 22 Nov 1994 19:24:38 +0000
parents db01a04d2afb
children 69aa3c244e28
files src/sysdep.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Tue Nov 22 19:19:42 1994 +0000
+++ b/src/sysdep.c	Tue Nov 22 19:24:38 1994 +0000
@@ -1386,7 +1386,7 @@
       if (!flow_control) tcflow (input_fd, TCOON);
 #endif
 
-#ifdef AIX
+#ifdef AIXHFT
       hft_init ();
 #ifdef IBMR2AIX
       {
@@ -1398,7 +1398,7 @@
 	  write (1, "\033[20l", 5);
       }
 #endif
-#endif
+#endif /* AIXHFT */
 
 #ifdef VMS
 /*  Appears to do nothing when in PASTHRU mode.
@@ -1597,7 +1597,7 @@
   clear_end_of_line (FRAME_WIDTH (selected_frame));
   /* clear_end_of_line may move the cursor */
   cursor_to (FRAME_HEIGHT (selected_frame) - 1, 0);
-#ifdef IBMR2AIX
+#if defined (IBMR2AIX) && defined (AIXHFT)
   {
     /* HFT devices normally use ^J as a LF/CR.  We forced it to 
        do the LF only.  Now, we need to reset it. */
@@ -1643,7 +1643,7 @@
   dos_ttcooked ();
 #endif
 
-#ifdef AIX
+#ifdef AIXHFT
   hft_reset ();
 #endif
 
@@ -4851,7 +4851,7 @@
 }
 #endif /* VMS */
 
-#ifdef AIX
+#ifdef AIXHFT
 
 /* Called from init_sys_modes.  */
 hft_init ()
@@ -4943,7 +4943,7 @@
   hftctl (0, HFSKBD, &buf);
 }
 
-#endif /* AIX */
+#endif /* AIXHFT */
 
 #ifdef USE_DL_STUBS