diff options
Diffstat (limited to 'src/w32-util.c')
-rw-r--r-- | src/w32-util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/w32-util.c b/src/w32-util.c index c661fb4b..1b805bdc 100644 --- a/src/w32-util.c +++ b/src/w32-util.c @@ -60,7 +60,6 @@ #include <shlobj.h> #include "util.h" -#include "ath.h" #include "sema.h" #include "debug.h" #include "sys-util.h" @@ -858,7 +857,7 @@ my_mkstemp (char *tmpl) random_time_bits = (((uint64_t)ft.dwHighDateTime << 32) | (uint64_t)ft.dwLowDateTime); } - value += random_time_bits ^ ath_self (); + value += random_time_bits ^ ((uintptr_t)GetCurrentThreadId ()); for (count = 0; count < attempts; value += 7777, ++count) { |