1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 16:43:02 +01:00

Might improve windows detection

This commit is contained in:
Sean Qureshi 2013-08-17 20:57:35 -07:00
parent 1a8dce7905
commit 6196c1f4eb

2
main.c
View File

@ -74,7 +74,7 @@ static Messenger *init_tox()
m_callback_action(m, on_action, NULL);
#ifdef __linux__
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"));
#else
setname(m, (uint8_t *) "Hipster", sizeof("Hipster"));