Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <arrbee@arrbee.com>2012-03-05 11:28:36 +0400
committerRussell Belfer <rb@github.com>2012-05-03 02:34:58 +0400
commit16b83019af63d837b6934bcf1b71b8697d5d94c8 (patch)
tree09f9ca31b329fc630629d11aa097e6563f1904b5 /src/diff.h
parentb88021463f9ca4ebffe8e2a5b15d4b09be465923 (diff)
Fix usage of "new" for fieldname in public header
This should restore the ability to include libgit2 headers in C++ projects. Cherry picked 2de60205dfea2c4a422b2108a5e8605f97c2e895 from development into new-error-handling.
Diffstat (limited to 'src/diff.h')
-rw-r--r--src/diff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff.h b/src/diff.h
index 6c432c894..ac2457956 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -14,8 +14,8 @@
#include "repository.h"
#include "pool.h"
-#define DIFF_SRC_PREFIX_DEFAULT "a/"
-#define DIFF_DST_PREFIX_DEFAULT "b/"
+#define DIFF_OLD_PREFIX_DEFAULT "a/"
+#define DIFF_NEW_PREFIX_DEFAULT "b/"
enum {
GIT_DIFFCAPS_HAS_SYMLINKS = (1 << 0), /* symlinks on platform? */