[webkit-dev] Build question on QT window version
George Staikos
staikos at kde.org
Tue Oct 9 22:17:35 PDT 2007
On 10-Oct-07, at 12:49 AM, Jerry K wrote:
>
> Hi George,
>
> I tried your patch, but I saw other compiling error.
>
> +#if PLATFORM(QT) && defined(Q_WS_WIN32)
> +#define localtime_r(x, y) localtime_s(y, x)
> +#endif
>
> ----
> \qt\WebKit\WebCore\loader\FTPDirectoryDocument.cpp:237: error:
> `localtime_s'
> undeclared (first use this function)
> ----
>
> I also searched 'localtime_s' in MinGW/include and Qt/4.3.1/include
> folders.
> I couldn't find the declaration of 'localtime_s'. Where should
> 'localtime_s'
> be?
Ah, this fix required VS2005. I don't have a mingw environment
setup but the fix would be similar.
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the webkit-dev
mailing list