From bc16fce6991a6fcec3db5cdfb896ae29ac9b0ebc Mon Sep 17 00:00:00 2001 From: Xaymar Date: Fri, 8 Aug 2025 03:59:29 +0200 Subject: [PATCH] Fix up C99 support again We still require a C++ compiler that treats C header files as actual C code. --- vst.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vst.h b/vst.h index 9f3d639..1f7cf7a 100644 --- a/vst.h +++ b/vst.h @@ -620,7 +620,7 @@ struct vst_event_t { */ union vst_event_midi_t { /** Shared event structure. */ - vst_event_t event; + struct vst_event_t event; struct { /** @private */ @@ -679,7 +679,7 @@ union vst_event_midi_t { */ union vst_event_midi_sysex_t { /** Shared event structure. */ - vst_event_t event; + struct vst_event_t event; struct { /** @private */ @@ -724,7 +724,7 @@ struct vst_events_t { * * The size of this array is defined by @ref vst_events_t.count. */ - vst_event_t** events; + struct vst_event_t** events; }; //------------------------------------------------------------------------------------------------------------------------