diff options
author | Ben Iofel <iofelben@gmail.com> | 2014-01-19 18:18:25 -0500 |
---|---|---|
committer | Ben Iofel <iofelben@gmail.com> | 2014-01-19 19:30:14 -0500 |
commit | 174cec7f158aed30e66d358c37190c0f3f1fc2c3 (patch) | |
tree | 0b93d94b1174b2b3d39004a24f670f37ff0396c8 /testing/experiment/group_chats_test.c | |
parent | 01c3c1be728f39cd398be3d0e49e1aaadc0df029 (diff) |
proper windows preprocessor detection
Diffstat (limited to 'testing/experiment/group_chats_test.c')
-rw-r--r-- | testing/experiment/group_chats_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/experiment/group_chats_test.c b/testing/experiment/group_chats_test.c index 900da79c..04fee327 100644 --- a/testing/experiment/group_chats_test.c +++ b/testing/experiment/group_chats_test.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "../../toxcore/group_chats.h" | 1 | #include "../../toxcore/group_chats.h" |
2 | #define NUM_CHATS 8 | 2 | #define NUM_CHATS 8 |
3 | 3 | ||
4 | #ifdef WIN32 | 4 | #if defined(_WIN32) || defined(__WIN32__) || defined (WIN32) |
5 | #define c_sleep(x) Sleep(1*x) | 5 | #define c_sleep(x) Sleep(1*x) |
6 | #else | 6 | #else |
7 | #define c_sleep(x) usleep(1000*x) | 7 | #define c_sleep(x) usleep(1000*x) |