RESOLVED FIXED Bug 5313
date_object.cpp Win32 compatibility
https://bugs.webkit.org/show_bug.cgi?id=5313
Summary date_object.cpp Win32 compatibility
Justin Haygood
Reported 2005-10-09 17:50:52 PDT
Separate bug for localtime_r gmtime_r missing already missing. This one is just a general "other things missing": * snprintf. This is simply fixed by adding #define snprintf _snprintf to #if WIN32 block at top * tm.gmtoff struct entry.. This is a Sun / BSD thing I believe. Does Linux have it? I know for one Windows doesn't have it. Could possibly be emulated for Windows. * strftime on Windows expects a const tm*, but the tm being passed is a plain old tm. My C++ skills aren't the best, but can it possibly be fixed by changing tm to (const tm *)&t ?. But as I said, I'm not the best at C/C++ stuff like indirections and references and pointers.
Attachments
Alexey Proskuryakov
Comment 1 2006-02-07 11:47:13 PST
I think this has all been fixed by now, and more (the latest change for tm_gmtoff emulation is in bug 7107).
Note You need to log in before you can comment on or make changes to this bug.