diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2015-07-29 12:34:14 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2015-07-29 12:35:33 +0100 |
commit | 56a5ef9d86d7005b294e9fe6e34717916054a121 (patch) | |
tree | 4ff4d2e2af59b49a73e712169ab42549fbdb9385 | |
parent | b8a2a9b3c023d159d11243654fcd33c1b31e55fb (diff) | |
download | efl-56a5ef9d86d7005b294e9fe6e34717916054a121.tar.gz |
eina str: remove useless and wrong ifdef for FreeBSD
-rw-r--r-- | src/lib/eina/eina_str.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/eina/eina_str.c b/src/lib/eina/eina_str.c index cec1f78f99..c3d9c4ca25 100644 --- a/src/lib/eina/eina_str.c +++ b/src/lib/eina/eina_str.c @@ -491,11 +491,7 @@ eina_str_convert(const char *enc_from, const char *enc_to, const char *text) size_t count; tob = outb; -#ifdef __FreeBSD__ - count = iconv(ic, &inp, &inb, &outp, &outb); -#else count = iconv(ic, (char **)&inp, &inb, &outp, &outb); -#endif outlen += tob - outb; if (count == (size_t)(-1)) { @@ -567,11 +563,7 @@ eina_str_convert_len(const char *enc_from, const char *enc_to, const char *text, size_t count; tob = outb; -#ifdef __FreeBSD__ - count = iconv(ic, &inp, &inb, &outp, &outb); -#else count = iconv(ic, (char **)&inp, &inb, &outp, &outb); -#endif outlen += tob - outb; if (count == (size_t)(-1)) { |