Skip to content

Commit

Permalink
Fix LTO build
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Sep 21, 2024
1 parent a607ce4 commit 530827a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions source/includes/dssi/seq_event-compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,16 @@ typedef struct snd_seq_ev_raw32 {
unsigned int d[3]; /**< 32 bit value */
} snd_seq_ev_raw32_t;

/** external stored data */
typedef struct snd_seq_ev_ext {
unsigned int len; /**< length of data */
void *ptr; /**< pointer to data (note: can be 64-bit) */
}
#ifndef _MSC_VER
__attribute__((packed))
#endif
snd_seq_ev_ext_t;

/** Result events */
typedef struct snd_seq_result {
int event; /**< processed event type */
Expand Down Expand Up @@ -238,6 +248,7 @@ typedef struct snd_seq_event {
snd_seq_ev_ctrl_t control; /**< MIDI control information */
snd_seq_ev_raw8_t raw8; /**< raw8 data */
snd_seq_ev_raw32_t raw32; /**< raw32 data */
snd_seq_ev_ext_t ext; /**< external data */
snd_seq_ev_queue_control_t queue; /**< queue control */
snd_seq_timestamp_t time; /**< timestamp */
snd_seq_addr_t addr; /**< address */
Expand Down

0 comments on commit 530827a

Please sign in to comment.