/*****************************************************************************
* I18n stuff
*****************************************************************************/
+#ifndef HAVE_SHARED_LIBVLC
VLC_EXPORT( char *, vlc_dgettext, ( const char *package, const char *msgid ) );
+#endif
#if defined( ENABLE_NLS ) && \
(defined(MODULE_NAME_IS_gnome)||defined(MODULE_NAME_IS_gnome_main)||\
# include <libintl.h>
# endif
# undef _
-# define _(String) vlc_dgettext (PACKAGE_NAME, String)
+# ifdef HAVE_SHARED_LIBVLC
+# define _(String) dgettext (PACKAGE_NAME, String)
+# else
+# define _(String) vlc_dgettext(PACKAGE_NAME, String)
+# endif
# define N_(String) ((char*)(String))
#else
# define _(String) ((char*)(String))
}
#endif
+#ifndef HAVE_SHARED_LIBVLC
/*****************************************************************************
* dgettext: gettext for plugins.
*****************************************************************************/
return (char *)msgid;
#endif
}
+#endif
/*****************************************************************************
* count_utf8_string: returns the number of characters in the string.