~ubuntu-branches/ubuntu/natty/gnupg/natty

« back to all changes in this revision

Viewing changes to intl/intl-compat.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2008-07-21 02:02:14 UTC
  • mfrom: (1.1.9 lenny)
  • Revision ID: james.westby@ubuntu.com-20080721020214-uh0hl0rfbog71as4
Tags: 1.4.9-3ubuntu1
* Merge from debian unstable (lp: #225005), remaining changes:
  - Add 'debian/patches/50_disable_mlock_test.dpatch': Disable mlock() test
    since it fails with ulimit 0 (on buildds).
  - Add 'debian/patches/61_use_agent_default.dpatch': Patch to set gpg
    (or gpg2) and gpgsm to use a passphrase agent by default (lp: 15485)
  - Add libcurl4-gnutls-dev to Build-Depends to fix gpg running into a
    timeout updating the keyring (lp: 62864)
* Dropped Ubuntu patches, applied upstream:
  - 50_show_primary_only.dpatch
  - 60_install_options_skel.dpatch
* Add 'debian/patches/55_curl_typefix.dpatch': Fix a build error with recent
  curl and gcc 4.3 (lp: #247679). Patch taken from upstream:
  http://lists.gnupg.org/pipermail/gnupg-devel/2008-April/024344.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* intl-compat.c - Stub functions to call gettext functions from GNU gettext
2
2
   Library.
3
 
   Copyright (C) 1995, 2000-2003 Software Foundation, Inc.
 
3
   Copyright (C) 1995, 2000-2003, 2005 Software Foundation, Inc.
4
4
 
5
5
   This program is free software; you can redistribute it and/or modify it
6
6
   under the terms of the GNU Library General Public License as published
49
49
/* When building a DLL, we must export some functions.  Note that because
50
50
   the functions are only defined for binary backward compatibility, we
51
51
   don't need to use __declspec(dllimport) in any case.  */
52
 
#if defined _MSC_VER && BUILDING_DLL
 
52
#if HAVE_VISIBILITY && BUILDING_DLL
 
53
# define DLL_EXPORTED __attribute__((__visibility__("default")))
 
54
#elif defined _MSC_VER && BUILDING_DLL
53
55
# define DLL_EXPORTED __declspec(dllexport)
54
56
#else
55
57
# define DLL_EXPORTED