https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100461
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Daniel Starke from comment #4) > Created attachment 50772 [details] > rdtsc.c > > Please find attached the mingw-w64 file. Please change #if !__has_builtin(__rdtsc) to #if !__has_builtin(__rdtsc) && !defined __rdtsc