comparison src/term.c @ 21827:87c7f4bd99da

Include cm.h after dispextern.h to avoid name conflicts in Windows system headers. (term_init) [WINDOWSNT]: Do not include remainder of function.
author Geoff Voelker <voelker@cs.washington.edu>
date Wed, 29 Apr 1998 04:34:52 +0000
parents d7c8600f8775
children d40f9a8d7779
comparison
equal deleted inserted replaced
21826:d18b1d70025c 21827:87c7f4bd99da
22 #include <config.h> 22 #include <config.h>
23 #include <stdio.h> 23 #include <stdio.h>
24 #include <ctype.h> 24 #include <ctype.h>
25 #include "termchar.h" 25 #include "termchar.h"
26 #include "termopts.h" 26 #include "termopts.h"
27 #include "cm.h"
28 #undef NULL 27 #undef NULL
29 #include "lisp.h" 28 #include "lisp.h"
30 #include "charset.h" 29 #include "charset.h"
31 #include "coding.h" 30 #include "coding.h"
32 #include "frame.h" 31 #include "frame.h"
33 #include "disptab.h" 32 #include "disptab.h"
34 #include "termhooks.h" 33 #include "termhooks.h"
35 #include "keyboard.h" 34 #include "keyboard.h"
36 #include "dispextern.h" 35 #include "dispextern.h"
36 #include "cm.h"
37 #ifdef HAVE_X_WINDOWS 37 #ifdef HAVE_X_WINDOWS
38 #include "xterm.h" 38 #include "xterm.h"
39 #endif 39 #endif
40 40
41 #define max(a, b) ((a) > (b) ? (a) : (b)) 41 #define max(a, b) ((a) > (b) ? (a) : (b))
1602 1602
1603 FRAME_CAN_HAVE_SCROLL_BARS (selected_frame) = 0; 1603 FRAME_CAN_HAVE_SCROLL_BARS (selected_frame) = 0;
1604 FRAME_VERTICAL_SCROLL_BAR_TYPE (selected_frame) = vertical_scroll_bar_none; 1604 FRAME_VERTICAL_SCROLL_BAR_TYPE (selected_frame) = vertical_scroll_bar_none;
1605 1605
1606 return; 1606 return;
1607 #endif /* WINDOWSNT */ 1607 #else /* not WINDOWSNT */
1608 1608
1609 Wcm_clear (); 1609 Wcm_clear ();
1610 1610
1611 status = tgetent (buffer, terminal_type); 1611 status = tgetent (buffer, terminal_type);
1612 if (status < 0) 1612 if (status < 0)
1927 /* meaningless in this case */ 1927 /* meaningless in this case */
1928 baud_rate = 9600; 1928 baud_rate = 9600;
1929 1929
1930 FRAME_CAN_HAVE_SCROLL_BARS (selected_frame) = 0; 1930 FRAME_CAN_HAVE_SCROLL_BARS (selected_frame) = 0;
1931 FRAME_VERTICAL_SCROLL_BAR_TYPE (selected_frame) = vertical_scroll_bar_none; 1931 FRAME_VERTICAL_SCROLL_BAR_TYPE (selected_frame) = vertical_scroll_bar_none;
1932 #endif /* WINDOWSNT */
1932 } 1933 }
1933 1934
1934 /* VARARGS 1 */ 1935 /* VARARGS 1 */
1935 void 1936 void
1936 fatal (str, arg1, arg2) 1937 fatal (str, arg1, arg2)