From 50c526e1a5349bd69ce29dda703e914fb755ccf4 Mon Sep 17 00:00:00 2001 From: Diadlo Date: Fri, 3 Mar 2017 21:30:11 +0300 Subject: Move c_sleep to helpers.h and misc_tools.h Also fix a mistake with forgotten braces around parameter --- auto_tests/tox_many_tcp_test.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'auto_tests/tox_many_tcp_test.c') diff --git a/auto_tests/tox_many_tcp_test.c b/auto_tests/tox_many_tcp_test.c index 48f5671c..77c611d9 100644 --- a/auto_tests/tox_many_tcp_test.c +++ b/auto_tests/tox_many_tcp_test.c @@ -17,14 +17,6 @@ #include "helpers.h" -#if defined(_WIN32) || defined(__WIN32__) || defined (WIN32) -#include -#define c_sleep(x) Sleep(1*x) -#else -#include -#define c_sleep(x) usleep(1000*x) -#endif - /* The Travis-CI container responds poorly to ::1 as a localhost address * You're encouraged to -D FORCE_TESTS_IPV6 on a local test */ #ifdef FORCE_TESTS_IPV6 -- cgit v1.2.3