eina str: remove useless and wrong ifdef for FreeBSD

This commit is contained in:
Daniel Kolesa 2015-07-29 12:34:14 +01:00
parent b8a2a9b3c0
commit 56a5ef9d86
1 changed files with 0 additions and 8 deletions

View File

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