mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 03:13:01 +01:00
Might improve windows detection
This commit is contained in:
parent
1a8dce7905
commit
6196c1f4eb
2
main.c
2
main.c
@ -74,7 +74,7 @@ static Messenger *init_tox()
|
|||||||
m_callback_action(m, on_action, NULL);
|
m_callback_action(m, on_action, NULL);
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
setname(m, (uint8_t *) "Cool guy", sizeof("Cool guy"));
|
setname(m, (uint8_t *) "Cool guy", sizeof("Cool guy"));
|
||||||
#elif WIN32
|
#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
|
||||||
setname(m, (uint8_t *) "I should install GNU/Linux", sizeof("I should install GNU/Linux"));
|
setname(m, (uint8_t *) "I should install GNU/Linux", sizeof("I should install GNU/Linux"));
|
||||||
#else
|
#else
|
||||||
setname(m, (uint8_t *) "Hipster", sizeof("Hipster"));
|
setname(m, (uint8_t *) "Hipster", sizeof("Hipster"));
|
||||||
|
Loading…
Reference in New Issue
Block a user