소스 검색

Use __open|__closedir

Peter S. Mazinger 20 년 전
부모
커밋
ab9d3f10ea
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      libc/sysdeps/linux/common/getcwd.c

+ 3 - 0
libc/sysdeps/linux/common/getcwd.c

@@ -1,5 +1,8 @@
 /* These functions find the absolute path to the current working directory.  */
 
+#define opendir __opendir
+#define closedir __closedir
+
 #include <stdlib.h>
 #include <errno.h>
 #include <sys/stat.h>