mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-02 05:26:45 +02:00
Don't compile A/V code if AUDIO/VIDEO are not #defined.
This commit is contained in:
@ -31,6 +31,8 @@
|
||||
#include "friendlist.h"
|
||||
#include "chat.h"
|
||||
|
||||
#ifdef AUDIO
|
||||
|
||||
#ifdef VIDEO
|
||||
#include "video_call.h"
|
||||
#endif /* VIDEO */
|
||||
@ -942,3 +944,5 @@ void del_friend_AV(uint32_t index)
|
||||
realloc_calls(index);
|
||||
CallControl.max_calls = index;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user