view src/s/osf5-0.h @ 34888:b469d29c0815

(SAFE_ONE_MORE_BYTE): New macro. (DECODE_EMACS_MULE_COMPOSITION_CHAR): New macro. (DECODE_EMACS_MULE_COMPOSITION_RULE): New macro. (decode_composition_emacs_mule): New function. (decode_coding_emacs_mule): Decode composition sequence by calling decode_composition_emacs_mule. (ENCODE_COMPOSITION_EMACS_MULE): New macro. (encode_coding_emacs_mule): Changed from macro to function. If a text contains compostions, encode them correctly. (setup_coding_system): Set coding->commong_flags for emacs-mule so that decoding and encoding are required.
author Kenichi Handa <handa@m17n.org>
date Thu, 28 Dec 2000 01:05:02 +0000
parents 1620eae35d3a
children 03cf4a916248
line wrap: on
line source

#define OSF5
#include "osf1.h"

/* It's enough to define _OSF_SOURCE instead of _BSD.  */
#undef C_SWITCH_SYSTEM
#define C_SWITCH_SYSTEM	-D_OSF_SOURCE

#define WAIT_USE_INT
#define SYS_SIGLIST_DECLARED
#define sys_siglist __sys_siglist
#ifndef NSIG			/* _OSF_SOURCE seems to get us this */
#define NSIG __sys_nsig
#endif

/* We have missing/inconsistent prototypes on 5.0, at least.  */
#define INHIBIT_X11R6_XIM

#define USE_MMAP_FOR_BUFFERS	1