view src/s/osf1.h @ 23883:0ca2fa58ca7b

(Qunknown): New variable. (init_charset_once): Intern and staticpro Qunknown. Initialize all elements of Vcharset_symbol_table to Qunknown. (find_charset_in_str): New arg MULTIBYTE. If it is zero, check unibyte characters only. For an invalid composition sequence, set CHARSETS[1] to 1. (Ffind_charset_region): Call find_charset_in_str with an appropriate MULTIBYTE arg. If undefined charsets are found, include `unknown' is the return value. (Ffind_charset_string): Likewise. (Fsplit_char): If CHAR is invalid, return `(unknown CHAR)'. (str_cmpchar_id): Max composite character code should be less than GENERIC_COMPOSITION_CHAR.
author Kenichi Handa <handa@m17n.org>
date Tue, 15 Dec 1998 04:35:38 +0000
parents bdcb6282a658
children 63fd40a97a75
line wrap: on
line source

#include "bsd4-3.h"

/* Identify OSF1 for the m- files. */

#define OSF1

/* Define _BSD to tell the include files we're running under
   the BSD universe and not the SYSV universe.  */

#define C_SWITCH_SYSTEM	-D_BSD
#define LIBS_SYSTEM	-lbsd

#define GETPGRP_NO_ARG

#define read sys_read
#define write sys_write
#define open sys_open
#define close sys_close

#define INTERRUPTIBLE_OPEN
#define INTERRUPTIBLE_CLOSE
#define INTERRUPTIBLE_IO

#define SYSV_SYSTEM_DIR

/* If your system uses COFF (Common Object File Format) then define the
   preprocessor symbol "COFF". */

#define COFF

/* Here is how to find X Windows.  LD_SWITCH_X_SITE_AUX gives an -R option
   says where to find X windows at run time.  We convert it to a -rpath option
   which is what OSF1 uses.  */
#define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'`

#define HAVE_TERMIOS

/* Specify the type that the 3rd arg of `accept' points to.  */
#define SOCKLEN_TYPE int