diff options
Diffstat (limited to 'lib/mktime.c')
| -rw-r--r-- | lib/mktime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mktime.c b/lib/mktime.c index 6953e984e5d..557712fdaa4 100644 --- a/lib/mktime.c +++ b/lib/mktime.c | |||
| @@ -78,7 +78,7 @@ | |||
| 78 | 78 | ||
| 79 | #include "mktime-internal.h" | 79 | #include "mktime-internal.h" |
| 80 | 80 | ||
| 81 | #ifndef _LIBC | 81 | #if !defined _LIBC && (NEED_MKTIME_WORKING || NEED_MKTIME_WINDOWS) |
| 82 | static void | 82 | static void |
| 83 | my_tzset (void) | 83 | my_tzset (void) |
| 84 | { | 84 | { |
| @@ -527,7 +527,7 @@ mktime (struct tm *tp) | |||
| 527 | be set as if the tzset() function had been called. */ | 527 | be set as if the tzset() function had been called. */ |
| 528 | __tzset (); | 528 | __tzset (); |
| 529 | 529 | ||
| 530 | # if defined __LIBC || NEED_MKTIME_WORKING | 530 | # if defined _LIBC || NEED_MKTIME_WORKING |
| 531 | static mktime_offset_t localtime_offset; | 531 | static mktime_offset_t localtime_offset; |
| 532 | return __mktime_internal (tp, __localtime_r, &localtime_offset); | 532 | return __mktime_internal (tp, __localtime_r, &localtime_offset); |
| 533 | # else | 533 | # else |