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:
authorVicent Marti <tanoku@gmail.com>2013-11-01 20:07:44 +0400
committerVicent Marti <tanoku@gmail.com>2013-11-01 20:36:09 +0400
commit0bfa73234263de03e5f797c2f4c514def145433a (patch)
tree229fc54b09b13cd6283a513edfd0174f4d12641f /src/path.h
parent95352b7058fe3166689e5af0b3b0a38e7c6f63a0 (diff)
iconv: Do not fake an API when iconv is not available
Diffstat (limited to 'src/path.h')
-rw-r--r--src/path.h10
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