1
0
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:
iphydf
2018-07-06 15:45:35 +00:00
parent 43ca840658
commit 3cd2bc7e3c
3 changed files with 12 additions and 2 deletions

View File

@ -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