The timegm() function and the tm_gmtoff and tm_zone fields are extensions to the ISO and POSIX standards; these are not available on WIN and some other UNIX-like systems (SOLARIS, SYMBIAN). The rules to turn off these non-portable dependencies are repeated several times in wtf/DateMath.*. Perhaps we should introduce HAVE_XXX guards for these non-portable dependencies and place the rules in one single location.
Created attachment 32425 [details] Proposed fix.
Comment on attachment 32425 [details] Proposed fix. Nice. r=me
Nice, landed in r45908