OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c444a96
)
get_current_dir_name is GNU extension as well
author
Peter S. Mazinger
<ps.m@gmx.net>
Mon, 13 Feb 2006 08:48:00 +0000
(08:48 -0000)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Mon, 13 Feb 2006 08:48:00 +0000
(08:48 -0000)
libc/sysdeps/linux/common/getdirname.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/getdirname.c
b/libc/sysdeps/linux/common/getdirname.c
index
43e7361
..
e196d1b
100644
(file)
--- a/
libc/sysdeps/linux/common/getdirname.c
+++ b/
libc/sysdeps/linux/common/getdirname.c
@@
-18,6
+18,8
@@
02111-1307 USA. */
#include <features.h>
+
+#ifdef __USE_GNU
#include <unistd.h>
#include <sys/stat.h>
#include <stdlib.h>
@@
-62,3
+64,4
@@
get_current_dir_name (void)
return getcwd ((char *) NULL, 0);
}
+#endif