view src/m/ncr386.h @ 87676:2aeceff24280

(detect_coding_iso2022): New arg latin_extra_code_state. Allow Latin extra codes only when *latin_extra_code_state is nonzero. (detect_coding_mask): If there is a NULL byte, detect the encoding as UTF-16 or binary. If there is a Latin extra code, detect the encoding as ISO-2022 only when no other proper encoding is found.
author Kenichi Handa <handa@m17n.org>
date Wed, 09 Jan 2008 06:05:23 +0000
parents 695cf19ef79e
children 375f2633d815
line wrap: on
line source

#include "intel386.h"

#ifndef __GNUC__
/* Allow emacs to link with "bcopy()" unresolved.  Works around a
   problem where /usr/lib/libX11.so provides bcopy, but
   /usr/ccs/lib/libX11.so does not.  */
#define LD_SWITCH_X_DEFAULT -Wl,-z,nodefs
#else /* __GNUC__ */

/* Assuming we are using GNU ld, pass a -R option to it
   so that shared libraries will be found at execution time
   just as they are found at link time.  */
#define LD_SWITCH_X_DEFAULT -Xlinker LD_SWITCH_X_SITE_AUX

#endif /* __GNUC__ */

/* arch-tag: 79c76283-7d50-499b-b910-8ef980357758
   (do not change this comment) */