]> granicus.if.org Git - sudo/commitdiff
Better check for dirfd macro--we now set HAVE_DIRFD for the macro version too.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Jun 2004 20:53:31 +0000 (20:53 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Jun 2004 20:53:31 +0000 (20:53 +0000)
Added check for dd_fd in `DIR' if no dirfd is found; this is now used to
confitionally define the dirfd macro in compat.h.

config.h.in

index 7e61baab3541cb4b1c29b68dbc3ade8b3dcaac1a..d3f3e6798725d8e706f1863c468a28ab246b4156 100644 (file)
@@ -78,6 +78,9 @@
 /* Define to 1 if you have the `dirfd' function (not macro). */
 #undef HAVE_DIRFD
 
+/* Define to 1 if your `DIR' contains dd_fd. */
+#undef HAVE_DD_FD
+
 /* Define to 1 if you have the `dispcrypt' function. */
 #undef HAVE_DISPCRYPT