mingw-crt/SOURCES/mingw-crt_gcc11.patch
2021-12-09 13:46:40 +00:00

13 lines
479 B
Diff

diff -rupN --no-dereference mingw-w64-v9.0.0/mingw-w64-crt/intrincs/rdtsc.c mingw-w64-v9.0.0-new/mingw-w64-crt/intrincs/rdtsc.c
--- mingw-w64-v9.0.0/mingw-w64-crt/intrincs/rdtsc.c 2021-05-22 14:34:25.000000000 +0200
+++ mingw-w64-v9.0.0-new/mingw-w64-crt/intrincs/rdtsc.c 2021-06-22 11:40:49.403979807 +0200
@@ -15,7 +15,7 @@
#endif
#if !__has_builtin(__rdtsc)
-unsigned __int64 __rdtsc(void)
+unsigned __int64 __rdtsc()
{
#ifdef _WIN64
unsigned __int64 val1, val2;