# HG changeset patch # User Gerd Moellmann # Date 1002275042 0 # Node ID bdd381bc9eb0f492c4b31546a0f391adff0e5a06 # Parent b17103d5e3c81e75a25f8e6e0fdabfd1cb1e2a61 (ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT. diff -r b17103d5e3c8 -r bdd381bc9eb0 src/coding.h --- a/src/coding.h Fri Oct 05 09:43:06 2001 +0000 +++ b/src/coding.h Fri Oct 05 09:44:02 2001 +0000 @@ -602,7 +602,13 @@ && XFASTINT (Vw32_system_coding_system) != 0 \ ? code_convert_string_norecord (str, Vw32_system_coding_system, 0) \ : str) -#endif + +#else /* WINDOWSNT */ + +#define ENCODE_SYSTEM(str) string_make_unibyte(str) +#define DECODE_SYSTEM(name) name + +#endif /* !WINDOWSNT */ /* Extern declarations. */ extern int decode_coding P_ ((struct coding_system *, unsigned char *,