Skip to content
Snippets Groups Projects
Commit 22314f90 authored by Nick Mathewson's avatar Nick Mathewson :family:
Browse files

loony mingwcross bug: insist we dont have clock_gettime.

parent 852cff04
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@
#include "compat.h"
#ifdef _WIN32
#undef HAVE_CLOCK_GETTIME
#include <winsock2.h>
#include <windows.h>
#endif
......
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment