mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 10:46:01 +00:00
Merge pull request #2379 from ethomson/status_win32
Include windows.h on win32 for Sleep
This commit is contained in:
commit
ff9fb4484b
@ -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