diff options
Diffstat (limited to 'src/msdos.c')
| -rw-r--r-- | src/msdos.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/msdos.c b/src/msdos.c index 8f0f6776aaa..f6ac1d32b9b 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -3922,6 +3922,18 @@ croak (char *badfunc) | |||
| 3922 | */ | 3922 | */ |
| 3923 | int setpgrp (void) {return 0; } | 3923 | int setpgrp (void) {return 0; } |
| 3924 | int setpriority (int x, int y, int z) { return 0; } | 3924 | int setpriority (int x, int y, int z) { return 0; } |
| 3925 | |||
| 3926 | #if __DJGPP__ == 2 && __DJGPP_MINOR__ < 4 | ||
| 3927 | ssize_t | ||
| 3928 | readlink (const char *name, char *dummy1, size_t dummy2) | ||
| 3929 | { | ||
| 3930 | /* `access' is much faster than `stat' on MS-DOS. */ | ||
| 3931 | if (access (name, F_OK) == 0) | ||
| 3932 | errno = EINVAL; | ||
| 3933 | return -1; | ||
| 3934 | } | ||
| 3935 | #endif | ||
| 3936 | |||
| 3925 | 3937 | ||
| 3926 | #if __DJGPP__ == 2 && __DJGPP_MINOR__ < 2 | 3938 | #if __DJGPP__ == 2 && __DJGPP_MINOR__ < 2 |
| 3927 | 3939 | ||