summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2015-02-26 14:08:20 +0900
committerAkira TAGOH <akira@tagoh.org>2015-02-26 14:09:33 +0900
commit8809d1b73b9c162ee0fecd314e2a80b287309954 (patch)
treeeaba104ed49b6bf4a6b4ac275a725b3f79f37dce /configure.ac
parentdd427253cc73d8786bbf436ec4d026f370ab0812 (diff)
Copy the real size of struct dirent
In some platforms, d_name is defined as the flexible array member. We may need to compute the real size for that case.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1e704cd..9141d3d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -680,6 +680,7 @@ dnl Figure out what cache format suffix to use for this architecture
AC_C_BIGENDIAN
AC_CHECK_SIZEOF([void *])
AC_CHECK_ALIGNOF([double])
+AC_CHECK_ALIGNOF([void *])
dnl include the header file for workaround of miscalculating size on autoconf
dnl particularly for fat binaries