diff options
author | Sean Qureshi <stqism@risingstormgames.com> | 2013-08-17 20:57:35 -0700 |
---|---|---|
committer | Sean Qureshi <stqism@risingstormgames.com> | 2013-08-17 20:57:35 -0700 |
commit | c91e459364cb1bd36e60094850ba0f0ee2fc9a53 (patch) | |
tree | 51af564554458e37a42a4960f220bfdf074cd580 | |
parent | ebe4a3f8d01d6eaed305aa36054725739961d9e6 (diff) |
Might improve windows detection
-rw-r--r-- | testing/toxic/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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() | |||
74 | m_callback_action(m, on_action, NULL); | 74 | m_callback_action(m, on_action, NULL); |
75 | #ifdef __linux__ | 75 | #ifdef __linux__ |
76 | setname(m, (uint8_t *) "Cool guy", sizeof("Cool guy")); | 76 | setname(m, (uint8_t *) "Cool guy", sizeof("Cool guy")); |
77 | #elif WIN32 | 77 | #elif defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__) |
78 | setname(m, (uint8_t *) "I should install GNU/Linux", sizeof("I should install GNU/Linux")); | 78 | setname(m, (uint8_t *) "I should install GNU/Linux", sizeof("I should install GNU/Linux")); |
79 | #else | 79 | #else |
80 | setname(m, (uint8_t *) "Hipster", sizeof("Hipster")); | 80 | setname(m, (uint8_t *) "Hipster", sizeof("Hipster")); |