Commit 9ff34a53 by Vicent Marti

Merge pull request #2079 from linquize/msvc-blame-example

Make blame example compile on MSVC
parents 66d585c6 1664aaaa
......@@ -14,6 +14,11 @@
#include "common.h"
#ifdef _MSC_VER
#define snprintf sprintf_s
#define strcasecmp strcmpi
#endif
/**
* This example demonstrates how to invoke the libgit2 blame API to roughly
* simulate the output of `git blame` and a few of its command line arguments.
......
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