X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fnanosleep.m4;h=34493bb3a632d8cf031a1eec04c7069d717a4763;hb=ee6855ea0843b56e6d9c3d6abde368ab22e5befe;hp=233f1c19042f756fd540cf665dbc4dd712b922dd;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/m4/nanosleep.m4 b/m4/nanosleep.m4 index 233f1c190..34493bb3a 100644 --- a/m4/nanosleep.m4 +++ b/m4/nanosleep.m4 @@ -1,4 +1,4 @@ -# serial 32 +# serial 33 dnl From Jim Meyering. dnl Check for the nanosleep function. @@ -58,7 +58,7 @@ AC_DEFUN([gl_FUNC_NANOSLEEP], #define TYPE_MAXIMUM(t) \ ((t) (! TYPE_SIGNED (t) \ ? (t) -1 \ - : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))) + : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) static void check_for_SIGALRM (int sig)