mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
add undef guard in tox_many_tcp_test
This fixes an redefinition error when creating amalgamation.cc during static analysis
This commit is contained in:
parent
efff822aef
commit
b3100c977c
|
@ -39,6 +39,10 @@ static void accept_friend_request(Tox *m, const uint8_t *public_key, const uint8
|
|||
|
||||
#define NUM_FRIENDS 50
|
||||
#define NUM_TOXES_TCP 40
|
||||
|
||||
#ifdef TCP_RELAY_PORT
|
||||
#undef TCP_RELAY_PORT
|
||||
#endif
|
||||
#define TCP_RELAY_PORT 33448
|
||||
|
||||
START_TEST(test_many_clients_tcp)
|
||||
|
|
Loading…
Reference in New Issue
Block a user