once: Fix pthread-rwlock crashes with clang (regr. 2024-08-07).
[gnulib.git] / m4 / off_t.m4
blobdb6035dbeb3afef39b8593fd691e2d883067d9a6
1 # off_t.m4
2 # serial 1
3 dnl Copyright (C) 2012-2024 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
8 dnl Check whether to override the 'off_t' type.
9 dnl Set WINDOWS_64_BIT_OFF_T.
11 AC_DEFUN([gl_TYPE_OFF_T],
13   m4_ifdef([gl_LARGEFILE], [
14     AC_REQUIRE([gl_LARGEFILE])
15   ], [
16     WINDOWS_64_BIT_OFF_T=0
17   ])
18   AC_SUBST([WINDOWS_64_BIT_OFF_T])