Skip to content

Commit

Permalink
Merge pull request #36 from dinvlad/master
Browse files Browse the repository at this point in the history
Tested in both 32- and 64-bit modes!
  • Loading branch information
dragonroot committed Aug 8, 2011
2 parents 2602a03 + a82a96e commit 4dde9a9
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dsl_details.cc
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions goldendict.pro
Expand Up @@ -89,6 +89,7 @@ unix {
INSTALLS += desktops2
}
mac {
CONFIG += x86 x86_64
LIBS += -liconv \
-lvorbisfile \
-lvorbis \
Expand Down
20 changes: 14 additions & 6 deletions maclibs/include/iconv.h
@@ -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
Expand All @@ -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")))
Expand Down Expand Up @@ -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. */
Expand All @@ -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 {
Expand Down Expand Up @@ -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 modified maclibs/lib/libhunspell-1.3.a
Binary file not shown.
Binary file modified maclibs/lib/libiconv.a
Binary file not shown.
Binary file modified maclibs/lib/libogg.a
Binary file not shown.
Binary file modified maclibs/lib/libvorbis.a
Binary file not shown.
Binary file modified maclibs/lib/libvorbisfile.a
Binary file not shown.

0 comments on commit 4dde9a9

Please sign in to comment.