* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: common.h,v 1.71 2002/01/29 20:11:18 gbazin Exp $
+ * $Id: common.h,v 1.72 2002/02/14 23:29:17 sam Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
#else
# define _(String) (String)
# define N_(String) (String)
-# define textdomain(Domain)
-# define bindtextdomain(Package, Directory) 1
#endif
/*****************************************************************************
mv -f /tmp/$$.$file.bak $file
fi
done
+
+file=gtk_support.h
+if grep -q "DO NOT EDIT THIS FILE" $file
+then
+ rm -f /tmp/$$.$file.bak
+ sed 's/DO NOT EDIT THIS FILE.*/This file was created automatically by glade and fixed by fixfiles.sh/ ; s/#if.*ENABLE_NLS.*/#if defined( ENABLE_NLS ) \&\& defined ( HAVE_GETTEXT )/' < $file > /tmp/$$.$file.bak
+ mv -f /tmp/$$.$file.bak $file
+fi
+
* gtk_playlist.c : Interface for the playlist dialog
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: gtk_playlist.c,v 1.27 2002/01/17 23:02:45 gbazin Exp $
+ * $Id: gtk_playlist.c,v 1.28 2002/02/14 23:29:17 sam Exp $
*
* Authors: Pierre Baillet <oct@zoy.org>
* Stéphane Borel <stef@via.ecp.fr>
#include <sys/types.h> /* for readdir and stat stuff */
-#if !defined( _MSC_VER )
-# include <dirent.h>
-#endif
-
#include <sys/stat.h>
#include <unistd.h>
/*
- * DO NOT EDIT THIS FILE - it is generated by Glade.
+ * This file was created automatically by glade and fixed by fixfiles.sh
*/
#ifdef HAVE_CONFIG_H
/*
* Standard gettext macros.
*/
-#ifdef ENABLE_NLS
+#if defined( ENABLE_NLS ) && defined ( HAVE_GETTEXT )
# include <libintl.h>
# undef _
# define _(String) dgettext (PACKAGE, String)
* and spawn threads.
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
- * $Id: main.c,v 1.149 2002/02/13 22:10:40 sam Exp $
+ * $Id: main.c,v 1.150 2002/02/14 23:29:17 sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
p_aout_bank = &aout_bank;
p_vout_bank = &vout_bank;
-#ifdef ENABLE_NLS
+#if defined( ENABLE_NLS ) && defined ( HAVE_GETTEXT )
/*
* Support for getext
*/