summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acconfig.h2
-rw-r--r--build/apr_common.m46
2 files changed, 4 insertions, 4 deletions
diff --git a/acconfig.h b/acconfig.h
index cbd03e532..cef30efd8 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -7,8 +7,6 @@
#undef USE_THREADS
#undef EGD_DEFAULT_SOCKET
#undef HAVE_isascii
-#undef DIRENT_INODE
-#undef DIRENT_TYPE
/* Cross process serialization techniques */
#undef USE_FLOCK_SERIALIZE
diff --git a/build/apr_common.m4 b/build/apr_common.m4
index c7bfcfd04..143824719 100644
--- a/build/apr_common.m4
+++ b/build/apr_common.m4
@@ -601,7 +601,8 @@ struct dirent de; de.d_ino;
fi
])
if test "$apr_cv_dirent_inode" != "no"; then
- AC_DEFINE_UNQUOTED(DIRENT_INODE, $apr_cv_dirent_inode)
+ AC_DEFINE_UNQUOTED(DIRENT_INODE, $apr_cv_dirent_inode,
+ [Define if struct dirent has an inode member])
fi
])
@@ -624,7 +625,8 @@ struct dirent de; de.d_type = DT_REG;
], apr_cv_dirent_type=d_type)
])
if test "$apr_cv_dirent_type" != "no"; then
- AC_DEFINE_UNQUOTED(DIRENT_TYPE, $apr_cv_dirent_type)
+ AC_DEFINE_UNQUOTED(DIRENT_TYPE, $apr_cv_dirent_type,
+ [Define if struct dirent has a d_type member])
fi
])