annotate src/s/sol2.h @ 49371:c73ce11bb264

2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> * w32term.c (note_mode_line_highlight): Delete #if 0 to enable function w32_define_cursor. (note_mouse_highlight): Initialize, setup cursor accoding to mouse position, change member name output_data.x to output_data.w32 and add function w32_define_cursor. (show_mouse_face): Delete #if 0 to enable function w32_define_cursor and change member name output_data.x to output_data.w32. (w32_initialize_display_info): Setup dpyinfo->vertical_scroll_bar_cursor. 2003-01-21 David Ponce <david@dponce.com> * w32term.c (w32_encode_char): For DIM=1 charset, set ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c x_encode_char change by Kenichi Handa <handa@m17n.org> on 2002-09-30. (w32_draw_relief_rect): Declare all args. (w32_define_cursor): New.
author Jason Rumney <jasonr@gnu.org>
date Tue, 21 Jan 2003 23:06:50 +0000
parents e080707a678b
children 695cf19ef79e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2815
60f122cfe785 * process.c (wait_reading_process_input): If we're running
Jim Blandy <jimb@redhat.com>
parents: 2741
diff changeset
1 #include "usg5-4.h"
1179
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
7872
00d9f3adb17b (SOLARIS2): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7356
diff changeset
3 #define SOLARIS2
00d9f3adb17b (SOLARIS2): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7356
diff changeset
4
4189
14c8cd7926a0 (BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
Richard M. Stallman <rms@gnu.org>
parents: 3435
diff changeset
5 /* eggert@twinsun.com said these work in Solaris.
14c8cd7926a0 (BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
Richard M. Stallman <rms@gnu.org>
parents: 3435
diff changeset
6 Perhaps they work in all kinds of SVR4, but this is more conservative. */
14c8cd7926a0 (BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
Richard M. Stallman <rms@gnu.org>
parents: 3435
diff changeset
7 #undef BROKEN_TIOCGETC
14c8cd7926a0 (BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
Richard M. Stallman <rms@gnu.org>
parents: 3435
diff changeset
8 #undef BROKEN_TIOCGWINSZ
14c8cd7926a0 (BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
Richard M. Stallman <rms@gnu.org>
parents: 3435
diff changeset
9
3435
7930bf123cb7 (XOS_NEEDS_TIME_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 3413
diff changeset
10 /* This triggers a conditional in xfaces.c. */
7930bf123cb7 (XOS_NEEDS_TIME_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 3413
diff changeset
11 #define XOS_NEEDS_TIME_H
7930bf123cb7 (XOS_NEEDS_TIME_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 3413
diff changeset
12
1179
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 #define POSIX
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14
6103
4acb066b1b96 Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 5596
diff changeset
15 /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option
4acb066b1b96 Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 5596
diff changeset
16 says where to find X windows at run time. */
1638
e49c2e6349e4 (LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents: 1584
diff changeset
17 #ifndef __GNUC__
5596
191c4af115dc (LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX.
Richard M. Stallman <rms@gnu.org>
parents: 4189
diff changeset
18 #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX
1638
e49c2e6349e4 (LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents: 1584
diff changeset
19 #else /* GCC */
7356
55588e31b258 (LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
Richard M. Stallman <rms@gnu.org>
parents: 6103
diff changeset
20 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
55588e31b258 (LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
Richard M. Stallman <rms@gnu.org>
parents: 6103
diff changeset
21 has anything in it. It can be empty.
55588e31b258 (LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
Richard M. Stallman <rms@gnu.org>
parents: 6103
diff changeset
22 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */
55588e31b258 (LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
Richard M. Stallman <rms@gnu.org>
parents: 6103
diff changeset
23 #define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX`
1638
e49c2e6349e4 (LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents: 1584
diff changeset
24 #endif /* GCC */
1179
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25
15300
3dd2c61941f1 Fix previous change.
Karl Heuer <kwzh@gnu.org>
parents: 15295
diff changeset
26 #undef LIBS_SYSTEM
18905
6d543fd6a50b (LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 18674
diff changeset
27 #define LIBS_SYSTEM -lsocket -lnsl -lkstat
6d543fd6a50b (LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 18674
diff changeset
28
6d543fd6a50b (LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 18674
diff changeset
29 /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root.
44656
e080707a678b (HAVE_LIBKSTAT): Define only if not already defined.
Eli Zaretskii <eliz@gnu.org>
parents: 31600
diff changeset
30 ghazi@caip.rutgers.edu, 7/21/97. Don't redefine if already defined
e080707a678b (HAVE_LIBKSTAT): Define only if not already defined.
Eli Zaretskii <eliz@gnu.org>
parents: 31600
diff changeset
31 (e.g., by config.h). */
e080707a678b (HAVE_LIBKSTAT): Define only if not already defined.
Eli Zaretskii <eliz@gnu.org>
parents: 31600
diff changeset
32 #ifndef HAVE_LIBKSTAT
18905
6d543fd6a50b (LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 18674
diff changeset
33 #define HAVE_LIBKSTAT
44656
e080707a678b (HAVE_LIBKSTAT): Define only if not already defined.
Eli Zaretskii <eliz@gnu.org>
parents: 31600
diff changeset
34 #endif
27750
48fa3afce611 (C_DEBUG_SWITCH): Define to allow optimization.
Dave Love <fx@gnu.org>
parents: 27677
diff changeset
35
48fa3afce611 (C_DEBUG_SWITCH): Define to allow optimization.
Dave Love <fx@gnu.org>
parents: 27677
diff changeset
36 /* eggert thinks all versions of SunPro C allowed this. */
48fa3afce611 (C_DEBUG_SWITCH): Define to allow optimization.
Dave Love <fx@gnu.org>
parents: 27677
diff changeset
37 #ifndef __GNUC__
48fa3afce611 (C_DEBUG_SWITCH): Define to allow optimization.
Dave Love <fx@gnu.org>
parents: 27677
diff changeset
38 #define C_DEBUG_SWITCH -g -O
48fa3afce611 (C_DEBUG_SWITCH): Define to allow optimization.
Dave Love <fx@gnu.org>
parents: 27677
diff changeset
39 #endif
28143
210942d0dc07 (INHIBIT_X11R6_XIM): Define.
Gerd Moellmann <gerd@gnu.org>
parents: 27750
diff changeset
40
210942d0dc07 (INHIBIT_X11R6_XIM): Define.
Gerd Moellmann <gerd@gnu.org>
parents: 27750
diff changeset
41 /* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style
210942d0dc07 (INHIBIT_X11R6_XIM): Define.
Gerd Moellmann <gerd@gnu.org>
parents: 27750
diff changeset
42 XIM support. */
210942d0dc07 (INHIBIT_X11R6_XIM): Define.
Gerd Moellmann <gerd@gnu.org>
parents: 27750
diff changeset
43
210942d0dc07 (INHIBIT_X11R6_XIM): Define.
Gerd Moellmann <gerd@gnu.org>
parents: 27750
diff changeset
44 #define INHIBIT_X11R6_XIM
30426
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 28143
diff changeset
45
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 28143
diff changeset
46 /* Must use the system's termcap, if we use any termcap.
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 28143
diff changeset
47 It does special things. */
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 28143
diff changeset
48
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 28143
diff changeset
49 #ifndef TERMINFO
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 28143
diff changeset
50 #define LIBS_TERMCAP -ltermcap
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 28143
diff changeset
51 #endif
31503
f3dc37a3c26a (REL_ALLOC_MMAP): Define.
Dave Love <fx@gnu.org>
parents: 30426
diff changeset
52
31600
ac8c86ff7ee3 (USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP.
Gerd Moellmann <gerd@gnu.org>
parents: 31503
diff changeset
53 #define USE_MMAP_FOR_BUFFERS 1