annotate src/s/hiuxmpp.h @ 89686:9bfefb13fe83

(Qinsufficient_source, Qinconsistent_eol) (Qinvalid_source, Qinterrupted, Qinsufficient_memory): New variables. (Vlast_code_conversion_error): New variables. (syms_of_coding): DEFSYM or DEFVAR_LISP them. (ONE_MORE_BYTE): Record error if any instead of signaling an error. If non-ASCII multibyte char is found, return the negative value of the code. All callers changed to check it. (ONE_MORE_BYTE_NO_CHECK): Likewise. (record_conversion_result): New function. All codes setting coding->result are changed to call this function. (detect_coding_utf_8): Don't use the local variable incomplete. (decode_coding_utf_8): Likewise. (emacs_mule_char): Change the second arg to `const'. (detect_coding_emacs_mule): Don't use the local variable incomplete. (detect_coding_sjis): Likewise. (detect_coding_big5): Likewise. (decode_coding): Fix of flushing out unprocessed data. (make_conversion_work_buffer): Fix making of a work buffer. (decode_coding_object): Return coding->dst_object;
author Kenichi Handa <handa@m17n.org>
date Mon, 29 Dec 2003 07:52:49 +0000
parents 375f2633d815
children 68c22ea6027c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16793
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* System description file for HI-UX. */
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 #define BSD 198911 /* system version (year & month) */
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 #define DBL_DIG 15 /* same as the definition of <float.h> */
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 #include "bsd4-3.h"
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 /* Identify OSF1 for the m- files. */
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 #define OSF1
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 /* To avoid to include the non-existant header file <sys/vlimit.h>,
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 we define BSD4_2.
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 This definition does not mean that the OS is based on BSD 4.2. */
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 #define BSD4_2
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 /* Define _BSD to tell the include files we're running under
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 26090
diff changeset
17 the BSD universe and not the SYSV universe.
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 26090
diff changeset
18 Define HITACHI and OSF for Xt's Boolean type as int intead of char.
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 26090
diff changeset
19 (But for these defines, /usr/include/X11/Intrinsic.h defines
16793
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 Boolean as char, but libXt.a on HI-UX/MPP requires it as int.) */
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 #define C_SWITCH_SYSTEM -D_BSD -DHITACHI -DOSF
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 #define LIBS_SYSTEM -lbsd
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 #define GETPGRP_NO_ARG
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 #define SYSV_SYSTEM_DIR
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 /* If your system uses COFF (Common Object File Format) then define the
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 preprocessor symbol "COFF". */
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 /* #define COFF */
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 says where to find X windows at run time. We convert it to a -rpath option
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 which is what OSF1 uses. */
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 26090
diff changeset
37 #define LD_SWITCH_SYSTEM
16793
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 #undef KERNEL_FILE
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 #define KERNEL_FILE "/mach_kernel"
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 #undef LDAV_SYMBOL
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 #define LDAV_SYMBOL "avenrun"
f932e8b3c525 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44