Merge pull request #36 from dinvlad/master

Tested in both 32- and 64-bit modes!
This commit is contained in:
Konstantin Isakov 2011-08-07 18:25:39 -07:00
commit 4dde9a9814
8 changed files with 16 additions and 7 deletions

View file

@ -14,7 +14,7 @@ namespace Details {
using gd::wstring;
using std::list;
#ifdef __WIN32
#ifndef __linux__
// wcscasecmp() function is a GNU extension, we need to reimplement it
// for non-GNU systems.

View file

@ -89,6 +89,7 @@ unix {
INSTALLS += desktops2
}
mac {
CONFIG += x86 x86_64
LIBS += -liconv \
-lvorbisfile \
-lvorbis \

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1999-2003, 2005-2006, 2008-2009 Free Software Foundation, Inc.
/* Copyright (C) 1999-2003, 2005-2006, 2008-2011 Free Software Foundation, Inc.
This file is part of the GNU LIBICONV Library.
The GNU LIBICONV Library is free software; you can redistribute it
@ -21,7 +21,7 @@
#ifndef _LIBICONV_H
#define _LIBICONV_H
#define _LIBICONV_VERSION 0x010D /* version number: (major<<8) + minor */
#define _LIBICONV_VERSION 0x010E /* version number: (major<<8) + minor */
#if 1 && BUILDING_LIBICONV
#define LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default")))
@ -95,6 +95,11 @@ extern LIBICONV_DLL_EXPORTED size_t iconv (iconv_t cd, char* * inbuf, size_t *i
extern LIBICONV_DLL_EXPORTED int iconv_close (iconv_t cd);
#ifdef __cplusplus
}
#endif
#ifndef LIBICONV_PLUG
/* Nonstandard extensions. */
@ -112,6 +117,10 @@ extern LIBICONV_DLL_EXPORTED int iconv_close (iconv_t cd);
#include <wchar.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* A type that holds all memory needed by a conversion descriptor.
A pointer to such an object can be used as an iconv_t. */
typedef struct {
@ -229,12 +238,11 @@ extern LIBICONV_DLL_EXPORTED const char * iconv_canonicalize (const char * name)
extern LIBICONV_DLL_EXPORTED void libiconv_set_relocation_prefix (const char *orig_prefix,
const char *curr_prefix);
#endif
#ifdef __cplusplus
}
#endif
#endif
#endif /* _LIBICONV_H */

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.