mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-04 21:04:07 +00:00
Include windows.h on win32 for Sleep
This commit is contained in:
parent
2bc36facce
commit
ead9c591ef
@ -14,9 +14,10 @@
|
||||
|
||||
#include "common.h"
|
||||
#ifdef _WIN32
|
||||
#define sleep(a) Sleep(a * 1000)
|
||||
# include <Windows.h>
|
||||
# define sleep(a) Sleep(a * 1000)
|
||||
#else
|
||||
#include <unistd.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user