From cf29bf99c77d733e39d5b12d8555d6c2edc544b6 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 5 Oct 2001 09:44:02 +0000 Subject: [PATCH] (ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT. --- src/coding.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 *, -- 2.39.2