| 303 | |
| 304 | |
| 305 | void RarTime::SetCurrentTime() |
| 306 | { |
| 307 | #ifdef _WIN_ALL |
| 308 | FILETIME ft; |
| 309 | SYSTEMTIME st; |
| 310 | GetSystemTime(&st); |
| 311 | SystemTimeToFileTime(&st,&ft); |
| 312 | SetWinFT(&ft); |
| 313 | #else |
| 314 | time_t st; |
| 315 | time(&st); |
| 316 | SetUnix(st); |
| 317 | #endif |
| 318 | } |
| 319 | |
| 320 | |
| 321 | // Add the specified signed number of nanoseconds. |
no outgoing calls
no test coverage detected