Commit 886710b7 by Carlos Martín Nieto

describe: make mingw happy

The MinGW compiler does not like it when we declare a typedef twice.
parent 25345c0c
...@@ -166,7 +166,7 @@ cleanup: ...@@ -166,7 +166,7 @@ cleanup:
return error; return error;
} }
typedef struct git_describe_result { struct git_describe_result {
int dirty; int dirty;
int exact_match; int exact_match;
int fallback_to_id; int fallback_to_id;
...@@ -174,7 +174,7 @@ typedef struct git_describe_result { ...@@ -174,7 +174,7 @@ typedef struct git_describe_result {
git_repository *repo; git_repository *repo;
struct commit_name *name; struct commit_name *name;
struct possible_tag *tag; struct possible_tag *tag;
} git_describe_result; };
struct get_name_data struct get_name_data
{ {
......
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