Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 15 lines (11 sloc) 0.259 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* compatibility for the unix/win32 sleep() function */

#ifndef __VI_SLEEP_H
#define __VI_SLEEP_H

#ifdef WIN32
#include <windows.h>
#define vi_sleep(x) Sleep((x)*1000)
#else
#include <unistd.h>
#define vi_sleep(x) sleep(x)
#endif

#endif /* __VI_SLEEP_H */
Something went wrong with that request. Please try again.