1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-01 17:37:46 +02:00

Merge FreeBSD fixes upstream

This commit is contained in:
Sean 2014-05-08 13:13:33 -07:00
parent af09961875
commit 1d6a6efb81

View File

@ -169,8 +169,10 @@ static Tox *init_tox(int ipv4)
#ifdef __linux__
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)
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__)
tox_set_name(m, (uint8_t *) "Hipster", strlen("Hipster")); /* This used to users of other Unixes are hipsters */
#else