mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 23:33:28 +01:00
Merge FreeBSD fixes upstream
This commit is contained in:
parent
af09961875
commit
1d6a6efb81
@ -169,8 +169,10 @@ static Tox *init_tox(int ipv4)
|
|||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
tox_set_name(m, (uint8_t *) "Cool guy", strlen("Cool guy"));
|
tox_set_name(m, (uint8_t *) "Cool guy", strlen("Cool guy"));
|
||||||
|
#elif defined(__FreeBSD__)
|
||||||
|
tox_set_name(m, (uint8_t *) "Very cool guy", strlen("Very cool guy"));
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
tox_set_name(m, (uint8_t *) "I should install GNU/Linux", strlen("I should install GNU/Linux"));
|
tox_set_name(m, (uint8_t *) "I should buy a Mac", strlen("I should install buy a Mac"));
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
tox_set_name(m, (uint8_t *) "Hipster", strlen("Hipster")); /* This used to users of other Unixes are hipsters */
|
tox_set_name(m, (uint8_t *) "Hipster", strlen("Hipster")); /* This used to users of other Unixes are hipsters */
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user