projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a18186c
)
(gettime): Test HAVE_CLOCK_GETTIME, not HAVE_CLOCK_SETTIME.
author
Jim Meyering
<jim@meyering.net>
Fri, 1 Mar 2002 23:54:52 +0000
(23:54 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 1 Mar 2002 23:54:52 +0000
(23:54 +0000)
lib/gettime.c
patch
|
blob
|
history
diff --git
a/lib/gettime.c
b/lib/gettime.c
index 7b5a75aaf69185d48d56c8abd631c0ac155f16d0..528060733065df1ad0292436a19ef7285b6c36cd 100644
(file)
--- a/
lib/gettime.c
+++ b/
lib/gettime.c
@@
-28,7
+28,7
@@
int
gettime (struct timespec *ts)
{
-#if defined CLOCK_REALTIME && HAVE_CLOCK_
S
ETTIME
+#if defined CLOCK_REALTIME && HAVE_CLOCK_
G
ETTIME
if (clock_gettime (CLOCK_REALTIME, ts) == 0)
return 0;
#endif