aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.h
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-05 09:44:02 +0000
committerGerd Moellmann2001-10-05 09:44:02 +0000
commitcf29bf99c77d733e39d5b12d8555d6c2edc544b6 (patch)
tree9eea05bb9b5a9a38cf372d1e906cb54bff776e51 /src/coding.h
parent5133a57883deda14a69e82eb425e02784eea6486 (diff)
downloademacs-cf29bf99c77d733e39d5b12d8555d6c2edc544b6.tar.gz
emacs-cf29bf99c77d733e39d5b12d8555d6c2edc544b6.zip
(ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT.
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h8
1 files changed, 7 insertions, 1 deletions
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
602 && XFASTINT (Vw32_system_coding_system) != 0 \ 602 && XFASTINT (Vw32_system_coding_system) != 0 \
603 ? code_convert_string_norecord (str, Vw32_system_coding_system, 0) \ 603 ? code_convert_string_norecord (str, Vw32_system_coding_system, 0) \
604 : str) 604 : str)
605#endif 605
606#else /* WINDOWSNT */
607
608#define ENCODE_SYSTEM(str) string_make_unibyte(str)
609#define DECODE_SYSTEM(name) name
610
611#endif /* !WINDOWSNT */
606 612
607/* Extern declarations. */ 613/* Extern declarations. */
608extern int decode_coding P_ ((struct coding_system *, unsigned char *, 614extern int decode_coding P_ ((struct coding_system *, unsigned char *,