Changeset 5983a04266f532a7746388565834450cede596a1

Show
Ignore:
Timestamp:
03/05/06 16:32:49 (2 years ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1141572769 +0000
git-parent:

[6633a950cb83b9317188eea314ade341d6c1cdd4]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1141572769 +0000
Message:

- Call dgettext directly with shared libvlc and libtool
- Remove vlc_dcgettext in those cases

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_common.h

    r77e453a r5983a04  
    11001100 * I18n stuff 
    11011101 *****************************************************************************/ 
     1102#ifndef HAVE_SHARED_LIBVLC 
    11021103VLC_EXPORT( char *, vlc_dgettext, ( const char *package, const char *msgid ) ); 
     1104#endif 
    11031105 
    11041106#if defined( ENABLE_NLS ) && \ 
     
    11141116#   endif 
    11151117#   undef _ 
    1116 #   define _(String) vlc_dgettext (PACKAGE_NAME, String) 
     1118#   ifdef HAVE_SHARED_LIBVLC 
     1119#       define _(String) dgettext (PACKAGE_NAME, String) 
     1120#   else 
     1121#       define _(String) vlc_dgettext(PACKAGE_NAME, String) 
     1122#   endif 
    11171123#   define N_(String) ((char*)(String)) 
    11181124#else 
  • src/extras/libc.c

    rc4fef7e r5983a04  
    499499#endif 
    500500 
     501#ifndef HAVE_SHARED_LIBVLC 
    501502/***************************************************************************** 
    502503 * dgettext: gettext for plugins. 
     
    511512#endif 
    512513} 
     514#endif 
    513515 
    514516/*****************************************************************************