[DGD] Mudlibs & Kfuns
Wim van der Vegt
wim.vandervegt at ouh.nl
Thu Oct 2 16:13:47 CEST 1997
Hi,
As the list comes to life, another patch related question, who updated the
strftime patch?
I found that the thing just doesn't compile under winnt in it's old format
(hanv't because NT doesn't support the timezone the way unix does).
I replaced the
_add(tm->tm_zone);
line by
#ifdef _WIN32
// win95 & winNT's time.h doesn't have the
// tm->tm_zone field so we use another approax.
// Win95 however returns a long tzname instead
// of the usual 3 letter tz codes.
_tzset();
_add(_tzname[0]);
#else
_add(tm->tm_zone);
#endif
perhaps a good thing to add to the patch....
Furthermore didn't Microsoft Visual C++ like the regex patch in it's
standard way. The workaround for that one is longer, but if anyone is
interested in a solotion, let me know.
---------
Wim van der Vegt / Dutch Open University
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list