Default to GNU/Linux dev_t etc
* configure.ac (dev_t, ino_t, major_t, minor_t): Default to GNU/Linux types. This shouldn’t affect behavior; it’s just a cleanup.
This commit is contained in:
16
configure.ac
16
configure.ac
@@ -82,12 +82,16 @@ AC_TYPE_MODE_T
|
||||
AC_TYPE_PID_T
|
||||
AC_TYPE_OFF_T
|
||||
AC_TYPE_UID_T
|
||||
AC_CHECK_TYPE(major_t, , AC_DEFINE(major_t, int,
|
||||
[Type of major device numbers.]))
|
||||
AC_CHECK_TYPE(minor_t, , AC_DEFINE(minor_t, int,
|
||||
[Type of minor device numbers.]))
|
||||
AC_CHECK_TYPE(dev_t, unsigned)
|
||||
AC_CHECK_TYPE(ino_t, unsigned)
|
||||
|
||||
# Taken from GNU/Linux, and should be good enough on platforms
|
||||
# lacking these types.
|
||||
AC_CHECK_TYPE([dev_t], [unsigned long long int])
|
||||
AC_CHECK_TYPE([ino_t], [unsigned long long int])
|
||||
|
||||
# Taken from GNU/Linux, and should be good enough on platforms
|
||||
# lacking these types.
|
||||
AC_CHECK_TYPE([major_t], [unsigned int])
|
||||
AC_CHECK_TYPE([minor_t], [unsigned int])
|
||||
|
||||
gt_TYPE_SSIZE_T
|
||||
|
||||
|
||||
Reference in New Issue
Block a user