Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.2.0
-
None
-
91d3298eab791ab2351c6be8714ab3b2bde9758e
Description
In file qdatetime.cpp function static int qt_timezone() :
static int qt_timezone()
{
#if defined(Q_OS_WINCE)
...
#elif defined(_MSC_VER) && _MSC_VER >= 1400
...
#else
return timezone;
^^^^^^^^^^^^^^^^
#endif // Q_OS_WIN
}
This is correct on Linux, but on FreeBSD timezone is not variable, it's function defined in /usr/src/include/time.h:
char *timezone(int, int);