/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "utc-offset.h"
{
#ifdef HAVE_TM_GMTOFF
#else
int offset;
/* gmtime() overwrites tm, so we need to copy it elsewhere */
/* max offset of 24 hours */
else
offset = 0;
/* restore overwritten tm */
return offset;
#endif
}