Mercurial > emacs
annotate src/s/isc4-1.h @ 50149:5d83d663737a
(struct glyph): Reduce face_id member from 22 to
21 bits (this reduces number of faces from 4M to 2M).
Replace W32 specific w32_font_type member (2 bits) by generic
font_type member (3 bits) for portability.
(FONT_TYPE_UNKNOWN): New define, default for font_type member.
(enum draw_glyphs_face): Define here.
(struct glyph_string): Define here. Merge W32 and X versions.
(struct redisplay_interface): New members per_char_metric,
encode_char, compute_glyph_string_overhangs, draw_glyph_string.
(VCENTER_BASELINE_OFFSET): Define here.
(dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs)
(x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 16 Mar 2003 20:45:20 +0000 |
parents | 556de690adf1 |
children | 695cf19ef79e |
rev | line source |
---|---|
12713 | 1 #include "isc3-0.h" |
2 | |
3 /* ISC 4.1 has renamed __setostype, but also has fixed the bug | |
4 for which we needed to call it; so just do nothing. uddeborg@carmen.se. */ | |
5 #undef EXTRA_INITIALIZE | |
6 | |
7 #define ISC4_1 | |
8 | |
9 #undef LIBS_SYSTEM | |
10 #define LIBS_SYSTEM -linet | |
11 | |
12913
92c12902ae8d
(NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12755
diff
changeset
|
12 /* uddeborg@carmen.se recommends the rest of this file. */ |
92c12902ae8d
(NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12755
diff
changeset
|
13 |
92c12902ae8d
(NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12755
diff
changeset
|
14 /* A special startup file is used when compiling with Posix. */ |
92c12902ae8d
(NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12755
diff
changeset
|
15 #define START_FILES pre-crt0.o /lib/crtp1.o |
92c12902ae8d
(NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12755
diff
changeset
|
16 |
92c12902ae8d
(NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12755
diff
changeset
|
17 /* -lPW is only needed if not using Gcc. */ |
12713 | 18 #undef LIB_STANDARD |
12913
92c12902ae8d
(NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12755
diff
changeset
|
19 #if defined (__GNUC__) |
92c12902ae8d
(NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12755
diff
changeset
|
20 # define LIB_STANDARD -lcposix -lc /lib/crtn.o |
92c12902ae8d
(NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12755
diff
changeset
|
21 #else /* !__GNUC__ */ |
92c12902ae8d
(NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12755
diff
changeset
|
22 # define LIB_STANDARD -lPW -lcposix -lc /lib/crtn.o |
92c12902ae8d
(NO_SOCKETS_IN_FILE_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12755
diff
changeset
|
23 #endif /* !__GNUC__ */ |
12755
7a567a79b03b
(HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12713
diff
changeset
|
24 |
7a567a79b03b
(HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12713
diff
changeset
|
25 /* We have Posix termios. */ |
7a567a79b03b
(HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12713
diff
changeset
|
26 #define HAVE_TERMIOS |
7a567a79b03b
(HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12713
diff
changeset
|
27 /* According to template.h HAVE_TERMIO and HAVE_TERMIOS shouldn't be */ |
7a567a79b03b
(HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12713
diff
changeset
|
28 /* defined at the same time. */ |
7a567a79b03b
(HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
12713
diff
changeset
|
29 #undef HAVE_TERMIO |
41184
556de690adf1
(HAVE_SYS_WAIT_H): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
14441
diff
changeset
|
30 |
556de690adf1
(HAVE_SYS_WAIT_H): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
14441
diff
changeset
|
31 /* ISC 4.1 has sys/wait.h but it does not work right. */ |
556de690adf1
(HAVE_SYS_WAIT_H): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
14441
diff
changeset
|
32 #undef HAVE_SYS_WAIT_H |