diff options
author | Jim Meyering <jim@meyering.net> | 2002-04-12 21:03:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-04-12 21:03:28 +0000 |
commit | ad935391c27e79af7037142e1ab0394823ee6c2e (patch) | |
tree | 75a71b9da9f6943943058aa54c282ac9c05860ee | |
parent | 5f057a69d6be2571385a20f137830f8711b8ab10 (diff) | |
download | coreutils-ad935391c27e79af7037142e1ab0394823ee6c2e.tar.xz |
(dirfd): Elide prototype if dirfd is a macro.
-rw-r--r-- | lib/dirfd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dirfd.h b/lib/dirfd.h index 01fa28ef5..422f97663 100644 --- a/lib/dirfd.h +++ b/lib/dirfd.h @@ -22,6 +22,6 @@ #ifndef HAVE_DECL_DIRFD "this configure-time declaration test was not run" #endif -#if !HAVE_DECL_DIRFD +#if !HAVE_DECL_DIRFD && !defined dirfd int dirfd (DIR const *); #endif |