describe: make mingw happy

The MinGW compiler does not like it when we declare a typedef twice.
This commit is contained in:
Carlos Martín Nieto 2014-09-30 09:20:08 +02:00
parent 25345c0cbe
commit 886710b77e

View File

@ -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 {
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
{ {