diff --git a/include/libc.h b/include/libc.h index 5fd56b8bfe7da4..fab1532f2271aa 100644 --- a/include/libc.h +++ b/include/libc.h @@ -308,7 +308,7 @@ extern void flagprint(int); #ifdef _WIN32 -#ifndef _WIN64 +#if !defined(_WIN64) && !defined(__MINGW64_VERSION_MAJOR) struct timespec { int tv_sec; long tv_nsec;