summaryrefslogtreecommitdiff
path: root/auto_tests/tox_many_tcp_test.c
diff options
context:
space:
mode:
authorDiadlo <polsha3@gmail.com>2017-03-03 21:30:11 +0300
committerDiadlo <polsha3@gmail.com>2017-03-25 20:40:34 +0300
commit50c526e1a5349bd69ce29dda703e914fb755ccf4 (patch)
tree52321368957f105c5db3e86fdbf7b6c47e848f7e /auto_tests/tox_many_tcp_test.c
parenta1f9df48d61ccc34e35bf98c3c61ec7861e8e1b6 (diff)
Move c_sleep to helpers.h and misc_tools.h
Also fix a mistake with forgotten braces around parameter
Diffstat (limited to 'auto_tests/tox_many_tcp_test.c')
-rw-r--r--auto_tests/tox_many_tcp_test.c8
1 files changed, 0 insertions, 8 deletions
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 @@
17 17
18#include "helpers.h" 18#include "helpers.h"
19 19
20#if defined(_WIN32) || defined(__WIN32__) || defined (WIN32)
21#include <windows.h>
22#define c_sleep(x) Sleep(1*x)
23#else
24#include <unistd.h>
25#define c_sleep(x) usleep(1000*x)
26#endif
27
28/* The Travis-CI container responds poorly to ::1 as a localhost address 20/* The Travis-CI container responds poorly to ::1 as a localhost address
29 * You're encouraged to -D FORCE_TESTS_IPV6 on a local test */ 21 * You're encouraged to -D FORCE_TESTS_IPV6 on a local test */
30#ifdef FORCE_TESTS_IPV6 22#ifdef FORCE_TESTS_IPV6