MDEV-35513 fails to compile on riscv32

Misplaced brace in my_rdtsc.h results in RV32 failing to compile.

ref: https://github.com/MariaDB/server/pull/1981/files#r1859762957

Thanks Jessica Clarke for the note.
This commit is contained in:
Daniel Black 2024-11-27 17:20:20 +11:00 committed by Vicențiu-Marian Ciorbaru
parent 8b057889d7
commit 27c7e73f9a

View file

@ -230,8 +230,8 @@ static inline ulonglong my_timer_cycles(void)
ulonglong result;
__asm __volatile__("rdtime %0" : "=r"(result));
return result;
}
# endif
}
#elif defined(HAVE_SYS_TIMES_H) && defined(HAVE_GETHRTIME)
#define MY_TIMER_ROUTINE_CYCLES MY_TIMER_ROUTINE_GETHRTIME
/* gethrtime may appear as either cycle or nanosecond counter */