diff options
author | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2017-11-26 18:17:16 +0100 |
---|---|---|
committer | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2017-11-26 18:17:16 +0100 |
commit | f517aa78699622a7eee0a806664f147b80640422 (patch) | |
tree | 7ae653d27a4b9df87239cb3ff0fd7a34b20d84fc | |
parent | b3c4d99caaaf94dd68487b38ddc68b15d207a4b6 (diff) |
audio: fix warnings when building with HAVE_PTHREAD=
-rw-r--r-- | src/audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio.c b/src/audio.c index 0d7f41b..b17a53c 100644 --- a/src/audio.c +++ b/src/audio.c @@ -98,14 +98,14 @@ struct autx { enum aufmt src_fmt; bool need_conv; - union { #ifdef HAVE_PTHREAD + union { struct { pthread_t tid;/**< Audio transmit thread */ bool run; /**< Audio transmit thread running */ } thr; -#endif } u; +#endif }; |