projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
948af94
)
fix the timer_create() test
author
Simon Marlow
<simonmar@microsoft.com>
Tue, 6 Mar 2007 09:35:25 +0000
(09:35 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Tue, 6 Mar 2007 09:35:25 +0000
(09:35 +0000)
aclocal.m4
patch
|
blob
|
history
diff --git
a/aclocal.m4
b/aclocal.m4
index
d7bed9a
..
9050299
100644
(file)
--- a/
aclocal.m4
+++ b/
aclocal.m4
@@
-1036,7
+1036,7
@@
int main(int argc, char *argv[])
timer_t timer;
ev.sigev_notify = SIGEV_SIGNAL;
ev.sigev_signo = SIGVTALRM;
timer_t timer;
ev.sigev_notify = SIGEV_SIGNAL;
ev.sigev_signo = SIGVTALRM;
- if (timer_create(CLOCK_REALTIME, &ev, &timer) != 0) {
+ if (timer_create(CLOCK_PROCESS_CPUTIME_ID, &ev, &timer) != 0) {
exit(1);
}
#else
exit(1);
}
#else
@@
-1050,7
+1050,7
@@
int main(int argc, char *argv[])
])
case $fptools_cv_timer_create_works in
yes) AC_DEFINE([USE_TIMER_CREATE], 1,
])
case $fptools_cv_timer_create_works in
yes) AC_DEFINE([USE_TIMER_CREATE], 1,
- [Define to 1 if we can use timer_create(CLOCK_REALTIMER,...)]);;
+ [Define to 1 if we can use timer_create(CLOCK_PROCESS_CPUTIME_ID,...)]);;
esac
])
esac
])