diff options
author | Vicent Marti <tanoku@gmail.com> | 2013-11-01 17:07:44 +0100 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-11-01 17:36:09 +0100 |
commit | 0bfa73234263de03e5f797c2f4c514def145433a (patch) | |
tree | 229fc54b09b13cd6283a513edfd0174f4d12641f /src/path.h | |
parent | 95352b7058fe3166689e5af0b3b0a38e7c6f63a0 (diff) | |
download | libgit2-0bfa73234263de03e5f797c2f4c514def145433a.tar.gz |
iconv: Do not fake an API when iconv is not available
Diffstat (limited to 'src/path.h')
-rw-r--r-- | src/path.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/path.h b/src/path.h index 17f4f7726..3daafd265 100644 --- a/src/path.h +++ b/src/path.h @@ -425,16 +425,6 @@ extern void git_path_iconv_clear(git_path_iconv_t *ic); */ extern int git_path_iconv(git_path_iconv_t *ic, char **in, size_t *inlen); -#else - -typedef struct { - int unused; -} git_path_iconv_t; -#define GIT_PATH_ICONV_INIT { 0 } -#define git_path_iconv_init_precompose(X) 0 -#define git_path_iconv_clear(X) (void)(X) -#define git_path_iconv(X,Y,Z) 0 - #endif /* GIT_USE_ICONV */ #endif |