1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-06-18 15:07:47 +02:00

Add missing ifdef

This commit is contained in:
jfreegman 2021-12-13 10:56:53 -05:00
parent 3f18c6f8de
commit f91d10c831
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -99,9 +99,12 @@ ToxWindow *prompt = NULL;
struct Winthread Winthread;
static struct cqueue_thread cqueue_thread;
static struct av_thread av_thread;
struct arg_opts arg_opts;
#ifdef AUDIO
static struct av_thread av_thread;
#endif
// This struct is not thread safe. It should only ever be written to from the main thread
// before any other thread that uses it is initialized.
struct user_settings *user_settings = NULL;