diff --git a/src/os/unix/pws_time.h b/src/os/unix/pws_time.h index 4be9ffb901..683cb48b98 100644 --- a/src/os/unix/pws_time.h +++ b/src/os/unix/pws_time.h @@ -14,8 +14,7 @@ #include #endif -typedef time_t __time32_t; -#ifndef __time64_t +#if !defined(__time64_t) && !defined(__TIME64_T_TYPE) typedef uint64_t __time64_t; #endif