summaryrefslogtreecommitdiff
path: root/legacy/evil/src/lib/evil_unistd.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/evil/src/lib/evil_unistd.c')
-rw-r--r--legacy/evil/src/lib/evil_unistd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/legacy/evil/src/lib/evil_unistd.c b/legacy/evil/src/lib/evil_unistd.c
index 897c86abab..dce441ce28 100644
--- a/legacy/evil/src/lib/evil_unistd.c
+++ b/legacy/evil/src/lib/evil_unistd.c
@@ -78,6 +78,15 @@ evil_gettimeofday(struct timeval *tp, void *tzp __UNUSED__)
78 return 1; 78 return 1;
79} 79}
80 80
81#ifdef _MSC_VER
82int
83evil_usleep(unsigned long usec)
84{
85 Sleep(usec / 1000);
86 return 0;
87}
88#endif
89
81 90
82/* 91/*
83 * Process identifer related functions 92 * Process identifer related functions