From c91e459364cb1bd36e60094850ba0f0ee2fc9a53 Mon Sep 17 00:00:00 2001 From: Sean Qureshi Date: Sat, 17 Aug 2013 20:57:35 -0700 Subject: [PATCH] Might improve windows detection --- testing/toxic/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/toxic/main.c b/testing/toxic/main.c index 1bb6cb5a..2da87bc6 100644 --- a/testing/toxic/main.c +++ b/testing/toxic/main.c @@ -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"));