diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2004-01-02 09:20:33 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2004-01-02 09:20:33 +0000 |
commit | 95a70af5e7511d09d525487aa8f4cb417865ba7d (patch) | |
tree | fc329e3f92e253ff66c962cbba916e2d9ecd41c7 /libc | |
parent | 78172165a89a6343e1ecbb0e33bc997eb4ded125 (diff) |
Oops... temporarily support the old stdio code.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/stdio/popen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/stdio/popen.c b/libc/stdio/popen.c index ad9b84cf7..8ebaedfd6 100644 --- a/libc/stdio/popen.c +++ b/libc/stdio/popen.c @@ -54,6 +54,11 @@ static pthread_mutex_t mylock = PTHREAD_MUTEX_INITIALIZER; # define VFORK_UNLOCK UNLOCK #endif +/* Temporarily support old stdio code. */ +#ifndef __MASK_READING +#define __filedes filedes +#endif + struct popen_list_item { struct popen_list_item *next; FILE *f; |