diff options
Diffstat (limited to 'lib/localtime-buffer.c')
-rw-r--r-- | lib/localtime-buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/localtime-buffer.c b/lib/localtime-buffer.c index f98e0b8f37a..2d0b75cde5f 100644 --- a/lib/localtime-buffer.c +++ b/lib/localtime-buffer.c @@ -35,6 +35,7 @@ struct tm *localtime_buffer_addr = &tm_zero_buffer; struct tm * rpl_localtime (time_t const *timep) +#undef localtime { struct tm *tm = localtime (timep); @@ -47,6 +48,7 @@ rpl_localtime (time_t const *timep) /* Same as above, since gmtime and localtime use the same buffer. */ struct tm * rpl_gmtime (time_t const *timep) +#undef gmtime { struct tm *tm = gmtime (timep); |