Define DIR_SEP only once

This commit is contained in:
Antoine Cellerier 2006-09-24 15:11:33 +00:00
parent a2d07c0596
commit 937b624960
4 changed files with 5 additions and 14 deletions

View File

@ -1278,3 +1278,8 @@ VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
# define PACKAGE
#endif
#if defined( WIN32 ) || defined( UNDER_CE )
# define DIR_SEP "\\"
#else
# define DIR_SEP "/"
#endif

View File

@ -83,8 +83,6 @@ static void SlaveSeek( input_thread_t *p_input );
static void InputMetaUser( input_thread_t *p_input );
int input_DownloadAndCacheArt( vlc_object_t *p_parent, input_item_t *p_item );
/*****************************************************************************
* This function creates a new input, and returns a pointer
* to its description. On error, it returns NULL.

View File

@ -63,12 +63,6 @@
#include <tchar.h>
#endif
#if defined( WIN32 ) || defined( UNDER_CE )
# define DIR_SEP "\\"
#else
# define DIR_SEP "/"
#endif
static int ConfigStringToKey( char * );
static char *ConfigKeyToString( int );

View File

@ -27,12 +27,6 @@
#include "charset.h"
#include <errno.h>
#if defined( WIN32 ) || defined( UNDER_CE )
# define DIR_SEP "\\"
#else
# define DIR_SEP "/"
#endif
/**
* Import a playlist file at a given point of a given view
* \param p_playlist the playlist to which the new items will be added