comparison lib/mktime.c @ 39832:8228a72f9f50

mktime: simplify in prep for glibc merge * lib/mktime.c, lib/timegm.c [_LIBC]: Include mktime-internal.h (a small file just for glibc) instead of using a typedef.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 09 Sep 2018 08:56:15 -0700
parents 6cbd05e63545
children 0c4e6e4d1480
comparison
equal deleted inserted replaced
39831:47cca1921b32 39832:8228a72f9f50
74 #endif 74 #endif
75 #ifndef NEED_MKTIME_WORKING 75 #ifndef NEED_MKTIME_WORKING
76 # define NEED_MKTIME_WORKING DEBUG_MKTIME 76 # define NEED_MKTIME_WORKING DEBUG_MKTIME
77 #endif 77 #endif
78 78
79 #ifdef _LIBC 79 #include "mktime-internal.h"
80 typedef long int mktime_offset_t;
81 #else
82 # include "mktime-internal.h"
83 #endif
84 80
85 #ifndef _LIBC 81 #ifndef _LIBC
86 static void 82 static void
87 my_tzset (void) 83 my_tzset (void)
88 { 84 {