changeset 39574:bdd381bc9eb0

(ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 05 Oct 2001 09:44:02 +0000
parents b17103d5e3c8
children f847e069b0f6
files src/coding.h
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 *,