projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
671a213
)
Fix typo in #if test for localtime_r().
author
Michael Poole
<mdpoole@troilus.org>
Mon, 27 Jun 2011 01:59:22 +0000
(21:59 -0400)
committer
Michael Poole
<mdpoole@troilus.org>
Mon, 27 Jun 2011 01:59:22 +0000
(21:59 -0400)
src/compat.c
patch
|
blob
|
history
diff --git
a/src/compat.c
b/src/compat.c
index 91105371dc16e9ca81bac416eabf6ee0e9722a22..08d7d39e3c2c91a66d2fb892acf6e9bcc4a9653b 100644
(file)
--- a/
src/compat.c
+++ b/
src/compat.c
@@
-35,7
+35,7
@@
int gettimeofday(struct timeval * tv, struct timezone * tz)
}
#endif
-#if !defined(HAVE_
GET
LOCALTIME_R) && defined(HAVE_LOCALTIME)
+#if !defined(HAVE_LOCALTIME_R) && defined(HAVE_LOCALTIME)
struct tm *localtime_r(const time_t *timep, struct tm *result)
{
memcpy(result, localtime(timep), sizeof(*result));