projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
free: Move AC_LIBOBJ invocations to module description.
[gnulib.git]
/
m4
/
nanosleep.m4
diff --git
a/m4/nanosleep.m4
b/m4/nanosleep.m4
index
233f1c1
..
34493bb
100644
(file)
--- a/
m4/nanosleep.m4
+++ b/
m4/nanosleep.m4
@@
-1,4
+1,4
@@
-# serial 3
2
+# serial 3
3
dnl From Jim Meyering.
dnl Check for the nanosleep function.
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 \
#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)
static void
check_for_SIGALRM (int sig)