diff options
Diffstat (limited to 'fc-cache')
-rw-r--r-- | fc-cache/fc-cache.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index ba1ba2bb..ce6b567c 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -38,6 +38,13 @@ #define HAVE_GETOPT 1 #endif +#if defined (_WIN32) +#define STRICT +#include <windows.h> +#define sleep(x) Sleep((x) * 1000) +#undef STRICT +#endif + #ifndef HAVE_GETOPT #define HAVE_GETOPT 0 #endif |