Mercurial > hg > svcore
diff plugin/api/alsa/seq_event.h @ 1218:6b847a59d908 msvc2015_64
MSVC build fixes
author | Chris Cannam |
---|---|
date | Tue, 18 Oct 2016 15:54:56 +0100 |
parents | da6937383da8 |
children | 48e9f538e6e9 |
line wrap: on
line diff
--- a/plugin/api/alsa/seq_event.h Tue Oct 18 14:04:06 2016 +0100 +++ b/plugin/api/alsa/seq_event.h Tue Oct 18 15:54:56 2016 +0100 @@ -321,7 +321,11 @@ typedef struct snd_seq_ev_ext { unsigned int len; /**< length of data */ void *ptr; /**< pointer to data (note: can be 64-bit) */ -} __attribute__((packed)) snd_seq_ev_ext_t; +} +#ifdef __GNUC__ +__attribute__((packed)) +#endif +snd_seq_ev_ext_t; /** Instrument cluster type */ typedef unsigned int snd_seq_instr_cluster_t;