Commit 937b6249 authored by Antoine Cellerier's avatar Antoine Cellerier

Define DIR_SEP only once

parent a2d07c05
...@@ -1278,3 +1278,8 @@ VLC_EXPORT( const char *, VLC_Changeset, ( void ) ); ...@@ -1278,3 +1278,8 @@ VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
# define PACKAGE # define PACKAGE
#endif #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 ); ...@@ -83,8 +83,6 @@ static void SlaveSeek( input_thread_t *p_input );
static void InputMetaUser( 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 * This function creates a new input, and returns a pointer
* to its description. On error, it returns NULL. * to its description. On error, it returns NULL.
......
...@@ -63,12 +63,6 @@ ...@@ -63,12 +63,6 @@
#include <tchar.h> #include <tchar.h>
#endif #endif
#if defined( WIN32 ) || defined( UNDER_CE )
# define DIR_SEP "\\"
#else
# define DIR_SEP "/"
#endif
static int ConfigStringToKey( char * ); static int ConfigStringToKey( char * );
static char *ConfigKeyToString( int ); static char *ConfigKeyToString( int );
......
...@@ -27,12 +27,6 @@ ...@@ -27,12 +27,6 @@
#include "charset.h" #include "charset.h"
#include <errno.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 * 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 * \param p_playlist the playlist to which the new items will be added
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment