Re: timegm on mingw

2010-04-03 Thread Jim Meyering
Bruno Haible wrote: > A similar error for timegm, in the C++ tests on mingw: > > ../gllib/time.h:448: error: `timegm' was not declared in this scope > > Again, we need to distinguish the case of a missing function from the > case of a broken function. > > m4/time_h.m4 contains some dubious code:

timegm on mingw

2010-04-03 Thread Bruno Haible
A similar error for timegm, in the C++ tests on mingw: ../gllib/time.h:448: error: `timegm' was not declared in this scope Again, we need to distinguish the case of a missing function from the case of a broken function. m4/time_h.m4 contains some dubious code: If timegm exists and mktime works