Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 80110 | Differences between
and this patch

Collapse All | Expand All

(-)glib/gconvert.c.mps (+20 lines)
Lines 22-28 Link Here
22
22
23
#include "config.h"
23
#include "config.h"
24
24
25
#ifdef HAVE_ICONV_H
25
#include <iconv.h>
26
#include <iconv.h>
27
#endif
26
#include <errno.h>
28
#include <errno.h>
27
#include <stdio.h>
29
#include <stdio.h>
28
#include <string.h>
30
#include <string.h>
Lines 49-54 Link Here
49
#error GNU libiconv not in use but included iconv.h is from libiconv
49
#error GNU libiconv not in use but included iconv.h is from libiconv
50
#endif
50
#endif
51
51
52
#ifndef HAVE_ICONV_H
53
typedef void *iconv_t;
54
55
static iconv_t iconv_open(const char *tocode, const char *fromcode)
56
{
57
	return (iconv_t)(-1);
58
}
59
60
static int iconv_close(iconv_t cd)
61
{
62
	free(cd);
63
64
	return 0;
65
}
66
67
static size_t iconv() {return 0;}
68
#endif
69
52
GQuark 
70
GQuark 
53
g_convert_error_quark (void)
71
g_convert_error_quark (void)
54
{
72
{

Return to bug 80110