Commit d0420fc6 by Linquize

Make examples/status.c compile on Windows

parent 9d878fc4
......@@ -13,7 +13,11 @@
*/
#include "common.h"
#ifdef _WIN32
#define sleep(a) Sleep(a * 1000)
#else
#include <unistd.h>
#endif
/**
* This example demonstrates the use of the libgit2 status APIs,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment