diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-03-08 20:26:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-08 20:26:18 +0100 |
commit | 9cefd83cc7b96d9a20ae8aae5ad5f2c4a02a74f4 (patch) | |
tree | 2933dd4aa96bd42eb8939c7a2afe2fcf544834f1 /test/functional | |
parent | d82621877b72ee8322a5b88adaba4edd5ad3b308 (diff) | |
parent | 0adf950ccf9a0057c552a349d79a716ff7be6f8f (diff) | |
download | rneovim-9cefd83cc7b96d9a20ae8aae5ad5f2c4a02a74f4.tar.gz rneovim-9cefd83cc7b96d9a20ae8aae5ad5f2c4a02a74f4.tar.bz2 rneovim-9cefd83cc7b96d9a20ae8aae5ad5f2c4a02a74f4.zip |
Merge #8084 'build/win: support MSVC'
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/fixtures/shell-test.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/fixtures/shell-test.c b/test/functional/fixtures/shell-test.c index 38695ce76b..a744d5df46 100644 --- a/test/functional/fixtures/shell-test.c +++ b/test/functional/fixtures/shell-test.c @@ -4,7 +4,12 @@ #include <stdio.h> #include <string.h> #include <stdint.h> +#ifdef _MSC_VER +#include <Windows.h> +#define usleep(usecs) Sleep(usecs/1000) +#else #include <unistd.h> +#endif static void wait(void) { |