summaryrefslogtreecommitdiffstats
path: root/m4/uoff_t_max.m4
blob: 78ca4d19a06b9df8a819e32130f530f097db3d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
AC_DEFUN([DOVECOT_UOFF_T_MAX], [
  dnl * Do we have UOFF_T_MAX?
  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
    #include <limits.h>
    #include <sys/types.h>
  ]], [[
    uoff_t i = UOFF_T_MAX;
  ]])],[
    :
  ],[
    AC_DEFINE_UNQUOTED(UOFF_T_MAX, $uofft_max, [Maximum value of uoff_t])
  ])
])