Ticket #48231: patch-src-portable_c.c.diff
File patch-src-portable_c.c.diff, 641 bytes (added by Schamschula (Marius Schamschula), 9 years ago) |
---|
-
src/portable_c.c
old new 1 #if (defined(__APPLE__) || defined(macintosh)) && !defined(DMG_BUILD)1 //#if (defined(__APPLE__) || defined(macintosh)) && !defined(DMG_BUILD) 2 2 // define this before including iconv.h to avoid a mapping of 3 3 // iconv_open and friends to libicon_open (done by mac ports), 4 4 // while the symbols without 'lib' are linked from /usr/lib/libiconv 5 #define LIBICONV_PLUG6 #endif5 //#define LIBICONV_PLUG 6 //#endif 7 7 #include <iconv.h> 8 8 9 9 // These functions are implemented in a C file, because there are different