Loading src/common/compat_time.c +1 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ #include "compat.h" #ifdef _WIN32 #undef HAVE_CLOCK_GETTIME #include <winsock2.h> #include <windows.h> #endif Loading src/common/compat_time.h +3 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,9 @@ #define TOR_COMPAT_TIME_H #include "orconfig.h" #ifdef _WIN32 #undef HAVE_CLOCK_GETTIME #endif #if defined(HAVE_CLOCK_GETTIME) /* to ensure definition of CLOCK_MONOTONIC_COARSE if it's there */ Loading Loading
src/common/compat_time.c +1 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ #include "compat.h" #ifdef _WIN32 #undef HAVE_CLOCK_GETTIME #include <winsock2.h> #include <windows.h> #endif Loading
src/common/compat_time.h +3 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,9 @@ #define TOR_COMPAT_TIME_H #include "orconfig.h" #ifdef _WIN32 #undef HAVE_CLOCK_GETTIME #endif #if defined(HAVE_CLOCK_GETTIME) /* to ensure definition of CLOCK_MONOTONIC_COARSE if it's there */ Loading