Use flexible array instead.
Part of fixing https://bugs.kde.org/show_bug.cgi?id=337869
/* Describe the guest state enough that the instrumentation
functions can work. */
-
-/* The max number of guest state chunks which we can describe as
- always defined (for the benefit of Memcheck). */
-#define VEXGLO_N_ALWAYSDEFD 24
-
typedef
struct {
/* Total size of the guest state, in bytes. Must be
struct {
Int offset;
Int size;
- } alwaysDefd[VEXGLO_N_ALWAYSDEFD];
+ } alwaysDefd[];
}
VexGuestLayout;