mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 20:43:02 +01:00
Add missing ifdef
This commit is contained in:
parent
3f18c6f8de
commit
f91d10c831
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user