diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-10-05 09:44:02 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-10-05 09:44:02 +0000 |
commit | cf29bf99c77d733e39d5b12d8555d6c2edc544b6 (patch) | |
tree | 9eea05bb9b5a9a38cf372d1e906cb54bff776e51 /src/coding.h | |
parent | 5133a57883deda14a69e82eb425e02784eea6486 (diff) | |
download | emacs-cf29bf99c77d733e39d5b12d8555d6c2edc544b6.tar.gz |
(ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT.
Diffstat (limited to 'src/coding.h')
-rw-r--r-- | src/coding.h | 8 |
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 && 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 *, |