]> code.delx.au - gnu-emacs/commitdiff
(ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT.
authorGerd Moellmann <gerd@gnu.org>
Fri, 5 Oct 2001 09:44:02 +0000 (09:44 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 5 Oct 2001 09:44:02 +0000 (09:44 +0000)
src/coding.h

index 2d514e3764082326b1a53ede1921acaae349e3ed..e3cab28806206f28fa1605ef62047a70d4d1caec 100644 (file)
@@ -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 *,