| 257 | |
| 258 | |
| 259 | void FillTimeZone(struct SystemInfo* info) |
| 260 | { |
| 261 | // tm_gmtoff not available on windows.. |
| 262 | TIME_ZONE_INFORMATION t; |
| 263 | GetTimeZoneInformation(&t); |
| 264 | info->m_GmtOffset = -t.Bias; |
| 265 | } |
| 266 | |
| 267 | typedef int (WINAPI *PGETUSERDEFAULTLOCALENAME)(LPWSTR, int); |
| 268 | typedef LONG (WINAPI *PRTLGETVERSION)(OSVERSIONINFOW*); |