]> git.sesse.net Git - vlc/blobdiff - include/vlc_fixups.h
seekdir, telldir: unused, remove
[vlc] / include / vlc_fixups.h
index ea464a4fb475b111523dd5a4744fb0a55bbd489d..1da896e6ef0d30b928a0acce478d2ee912dc8db6 100644 (file)
@@ -1,8 +1,7 @@
 /*****************************************************************************
  * fixups.h: portability fixups included from config.h
  *****************************************************************************
- * Copyright © 1998-2007 the VideoLAN project
- * $Id$
+ * Copyright © 1998-2008 the VideoLAN project
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -146,14 +145,10 @@ struct dirent
 #   define readdir vlc_readdir
 #   define closedir vlc_closedir
 #   define rewinddir vlc_rewindir
-#   define seekdir vlc_seekdir
-#   define telldir vlc_telldir
 VLC_EXPORT( void *, vlc_opendir, ( const char * ) );
 VLC_EXPORT( void *, vlc_readdir, ( void * ) );
 VLC_EXPORT( int, vlc_closedir, ( void * ) );
 VLC_INTERNAL( void, vlc_rewinddir, ( void * ) );
-VLC_INTERNAL( void, vlc_seekdir, ( void *, long ) );
-VLC_INTERNAL( long, vlc_telldir, ( void * ) );
 #endif
 
 #ifndef HAVE_USELOCALE
@@ -163,4 +158,16 @@ typedef void *locale_t;
 # define freelocale( a ) (void)0
 #endif
 
+/* libintl support */
+#define _(str) vlc_gettext (str)
+
+#if defined (ENABLE_NLS)
+# include <libintl.h>
+#else
+# define dgettext(dom, str) ((char *)(str))
+#endif
+
+#define N_(str) gettext_noop (str)
+#define gettext_noop(str) (str)
+
 #endif /* !LIBVLC_FIXUPS_H */