Added full support for both 32- and 64-bit Intel Macs.

The universal binary is now built seamlessly with 'Cocoa: Mac binary package for Mac OS X 10.5-10.6' (works in 10.7 as well).

Signed-off-by: Denis Loginov <dinvlad@gmail.com>
This commit is contained in:
Denis Loginov 2011-08-07 21:04:53 -04:00
parent ee966c4d2d
commit a82a96e6af
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 {
@ -227,14 +236,13 @@ extern LIBICONV_DLL_EXPORTED const char * iconv_canonicalize (const char * name)
prefixes should be directory names without trailing slash (i.e. use ""
instead of "/"). */
extern LIBICONV_DLL_EXPORTED void libiconv_set_relocation_prefix (const char *orig_prefix,
const char *curr_prefix);
#endif
const char *curr_prefix);
#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.