From e41eee6c9aef58c501a40b4baf4a375c060220c3 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 4 Oct 2001 21:38:06 +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.5