Bläddra i källkod

Oops... temporarily support the old stdio code.

Manuel Novoa III 22 år sedan
förälder
incheckning
95a70af5e7
1 ändrade filer med 5 tillägg och 0 borttagningar
  1. 5 0
      libc/stdio/popen.c

+ 5 - 0
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;