]> git.sesse.net Git - vlc/blobdiff - src/extras/libc.c
- Call dgettext directly with shared libvlc and libtool
[vlc] / src / extras / libc.c
index e1b6a174f827dcd5a73891fb3345a95c4b08ba07..19fd2a384c66839098e26d97877dca364b140144 100644 (file)
@@ -498,6 +498,7 @@ int vlc_scandir( const char *name, struct dirent ***namelist,
 }
 #endif
 
+#ifndef HAVE_SHARED_LIBVLC
 /*****************************************************************************
  * dgettext: gettext for plugins.
  *****************************************************************************/
@@ -510,6 +511,7 @@ char *vlc_dgettext( const char *package, const char *msgid )
     return (char *)msgid;
 #endif
 }
+#endif
 
 /*****************************************************************************
  * count_utf8_string: returns the number of characters in the string.