49d1a4c562
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
10 lines
202 B
C
10 lines
202 B
C
#include <time.h>
|
|
|
|
double __cdecl _difftime64(__time64_t _Time1,__time64_t _Time2)
|
|
{
|
|
__time64_t r = _Time1 - _Time2;
|
|
if (r > _Time1)
|
|
return -((double) (_Time2 - _Time1));
|
|
return (double) r;
|
|
}
|