notmuch/compat/have_timegm.c
Jani Nikula 544b8ec90e compat: don't include compat.h from the feature test source
The feature test code should test the build environment, and none of
the compat code should interfere with that. Don't include compat.h
from the feature test source. There should be no functional changes
here, but this is just the right thing to do.
2017-05-11 20:42:37 -03:00

6 lines
75 B
C

#include <time.h>
int main()
{
return (int) timegm((struct tm *)0);
}