mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
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:
parent
ee966c4d2d
commit
a82a96e6af
|
@ -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.
|
||||
|
|
|
@ -89,6 +89,7 @@ unix {
|
|||
INSTALLS += desktops2
|
||||
}
|
||||
mac {
|
||||
CONFIG += x86 x86_64
|
||||
LIBS += -liconv \
|
||||
-lvorbisfile \
|
||||
-lvorbis \
|
||||
|
|
|
@ -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.
Loading…
Reference in a new issue