Problem with tm_gmtoff in kjs

Christian Ehrlicher Ch.Ehrlicher at
Thu Jan 19 07:01:57 GMT 2006


In kjs/date_object.cpp you're using tm.tm_gmtoff which isn't defined on
win32. Afaik this member is a BSD extension and so not available
everywhere.So my question is what to do with this:
- define the structure with tm_gmtoff (and tm_zone) for win32 (this is
possible because win32 sdk headers mask the definition with '#ifndef
- mask the usage of tm_gmtoff with '#ifndef Q_OS_WIN'
- add a check for tm_gmtoff in bksys/unsermake and mask then with '#ifdef


DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos*

More information about the kde-core-devel mailing list