changeset 3804:5c15e95cddf5

(dirfd): Elide prototype if dirfd is a macro.
author Jim Meyering <jim@meyering.net>
date Fri, 12 Apr 2002 21:03:28 +0000
parents a7f613d9ff51
children 78bff9b41ea6
files lib/dirfd.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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