mirror of
https://github.com/videolan/vlc.git
synced 2025-01-25 17:15:46 +08:00
Define DIR_SEP only once
This commit is contained in:
parent
a2d07c0596
commit
937b624960
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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 );
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user