|
a/src/utils/transcode.cpp |
|
b/src/utils/transcode.cpp |
|
... |
|
... |
17 |
* Free Software Foundation, Inc.,
|
17 |
* Free Software Foundation, Inc.,
|
18 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
18 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
19 |
*/
|
19 |
*/
|
20 |
|
20 |
|
21 |
#ifndef TEST_TRANSCODE
|
21 |
#ifndef TEST_TRANSCODE
|
22 |
|
22 |
#include "autoconfig.h"
|
23 |
#include <errno.h>
|
|
|
24 |
|
23 |
|
25 |
#include <string>
|
24 |
#include <string>
|
26 |
#include <iostream>
|
25 |
#include <iostream>
|
27 |
#ifndef NO_NAMESPACES
|
26 |
#ifndef NO_NAMESPACES
|
28 |
using std::string;
|
27 |
using std::string;
|
29 |
#endif /* NO_NAMESPACES */
|
28 |
#endif /* NO_NAMESPACES */
|
30 |
|
29 |
|
|
|
30 |
#include <errno.h>
|
31 |
#include <iconv.h>
|
31 |
#include <iconv.h>
|
32 |
|
32 |
|
33 |
#include "transcode.h"
|
33 |
#include "transcode.h"
|
34 |
#include "debuglog.h"
|
34 |
#include "debuglog.h"
|
35 |
#include "autoconfig.h"
|
|
|
36 |
|
35 |
|
37 |
#ifdef RCL_ICONV_INBUF_CONST
|
36 |
#ifdef RCL_ICONV_INBUF_CONST
|
38 |
#define ICV_P2_TYPE const char**
|
37 |
#define ICV_P2_TYPE const char**
|
39 |
#else
|
38 |
#else
|
40 |
#define ICV_P2_TYPE char**
|
39 |
#define ICV_P2_TYPE char**
|