q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=56a5ef9d86d7005b294e9fe6e34717916054a121

commit 56a5ef9d86d7005b294e9fe6e34717916054a121
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Wed Jul 29 12:34:14 2015 +0100

    eina str: remove useless and wrong ifdef for FreeBSD
---
 src/lib/eina/eina_str.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/lib/eina/eina_str.c b/src/lib/eina/eina_str.c
index cec1f78..c3d9c4c 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))
           {

-- 


Reply via email to