~ubuntu-branches/ubuntu/saucy/m17n-lib/saucy

« back to all changes in this revision

Viewing changes to intl/relocatable.h

  • Committer: Bazaar Package Importer
  • Author(s): Harshula Jayasuriya
  • Date: 2010-11-23 01:39:29 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101123013929-rs3kpqgu4kr3qx32
Tags: 1.6.2-1
* New upstream release 1.6.2.
* Update Standards-Version to Debian Policy 3.9.1. (No changes)
* debian/control: Depends: m17n-db and m17n-contrib. (Closes: #599643)
* PATCH: (make_locale): Don't call setlocale.  Just parse the arg NAME.
         (Closes: #601858)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Provide relocatable packages.
2
 
   Copyright (C) 2003 Free Software Foundation, Inc.
 
2
   Copyright (C) 2003, 2005 Free Software Foundation, Inc.
3
3
   Written by Bruno Haible <bruno@clisp.org>, 2003.
4
4
 
5
5
   This program is free software; you can redistribute it and/or modify it
14
14
 
15
15
   You should have received a copy of the GNU Library General Public
16
16
   License along with this program; if not, write to the Free Software
17
 
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
 
17
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
18
18
   USA.  */
19
19
 
20
20
#ifndef _RELOCATABLE_H
31
31
/* When building a DLL, we must export some functions.  Note that because
32
32
   this is a private .h file, we don't need to use __declspec(dllimport)
33
33
   in any case.  */
34
 
#if defined _MSC_VER && BUILDING_DLL
 
34
#if HAVE_VISIBILITY && BUILDING_DLL
 
35
# define RELOCATABLE_DLL_EXPORTED __attribute__((__visibility__("default")))
 
36
#elif defined _MSC_VER && BUILDING_DLL
35
37
# define RELOCATABLE_DLL_EXPORTED __declspec(dllexport)
36
38
#else
37
39
# define RELOCATABLE_DLL_EXPORTED