From: Gerd Moellmann Date: Fri, 5 Oct 2001 09:44:02 +0000 (+0000) Subject: (ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT. X-Git-Tag: ttn-vms-21-2-B4~19743 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf29bf99c77d733e39d5b12d8555d6c2edc544b6;p=emacs.git (ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT. --- diff --git a/src/coding.h b/src/coding.h index 2d514e37640..e3cab288062 100644 --- a/src/coding.h +++ b/src/coding.h @@ -602,7 +602,13 @@ struct coding_system && 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 *,