diff options
Diffstat (limited to 'newlib/libc/unix/dirname.c')
-rw-r--r-- | newlib/libc/unix/dirname.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/unix/dirname.c b/newlib/libc/unix/dirname.c index f026e3056..164da7f78 100644 --- a/newlib/libc/unix/dirname.c +++ b/newlib/libc/unix/dirname.c @@ -1,3 +1,5 @@ +#ifndef _NO_DIRNAME + /* Copyright 2005 Shaun Jackman * Permission to use, copy, modify, and distribute this software * is freely granted, provided that this notice is preserved. @@ -26,3 +28,5 @@ _DEFUN (dirname, (path), p == path ? "/" : (*p = '\0', path); } + +#endif /* !_NO_DIRNAME */ |