1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-06-29 16:37:46 +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; struct Winthread Winthread;
static struct cqueue_thread cqueue_thread; static struct cqueue_thread cqueue_thread;
static struct av_thread av_thread;
struct arg_opts arg_opts; 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 // 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. // before any other thread that uses it is initialized.
struct user_settings *user_settings = NULL; struct user_settings *user_settings = NULL;