diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-02-27 21:46:39 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-02-27 21:46:39 +0200 |
commit | 40be44e2a95cd703e49022c8f8aa0ce5b9b29ea6 (patch) | |
tree | 2e1f942e8967b0f8bcc9d4b7f575305088db3871 /src/msdos.h | |
parent | ea2bc7b02fe99d10ff0606c7008e84a9afbebe20 (diff) | |
download | emacs-40be44e2a95cd703e49022c8f8aa0ce5b9b29ea6.tar.gz |
Emulate `readlink' for DJGPP versions before 2.04.
src/msdos.c (readlink) [DJGPP < 2.04]: New stub function.
src/msdos.h: (readlink) [DJGPP < 2.04]: Declare prototype.
Diffstat (limited to 'src/msdos.h')
-rw-r--r-- | src/msdos.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/msdos.h b/src/msdos.h index 6b076c1722b..4bbe9b134de 100644 --- a/src/msdos.h +++ b/src/msdos.h @@ -40,6 +40,11 @@ void mouse_init (void); void mouse_on (void); void mouse_off (void); void mouse_moveto (int, int); + +#if __DJGPP__ == 2 && __DJGPP_MINOR__ < 4 +int readlink (const char *, char *, size_t); +#endif + #ifndef HAVE_X_WINDOWS /* Dummy types. */ |