Commit 976bd14b authored by Jean-Paul Saman's avatar Jean-Paul Saman

Put ifdef WIN32 around functions only used for Windows

parent 1b6ae34d
...@@ -62,13 +62,14 @@ static int DemuxControl( demux_t *, int, va_list ); ...@@ -62,13 +62,14 @@ static int DemuxControl( demux_t *, int, va_list );
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Prototypes for configuration callbacks // Prototypes for configuration callbacks
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifdef WIN32
static int onSystrayChange( vlc_object_t *pObj, const char *pVariable, static int onSystrayChange( vlc_object_t *pObj, const char *pVariable,
vlc_value_t oldVal, vlc_value_t newVal, vlc_value_t oldVal, vlc_value_t newVal,
void *pParam ); void *pParam );
static int onTaskBarChange( vlc_object_t *pObj, const char *pVariable, static int onTaskBarChange( vlc_object_t *pObj, const char *pVariable,
vlc_value_t oldVal, vlc_value_t newVal, vlc_value_t oldVal, vlc_value_t newVal,
void *pParam ); void *pParam );
#endif
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Open: initialize interface // Open: initialize interface
...@@ -351,7 +352,7 @@ static int DemuxControl( demux_t *p_demux, int i_query, va_list args ) ...@@ -351,7 +352,7 @@ static int DemuxControl( demux_t *p_demux, int i_query, va_list args )
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Callbacks // Callbacks
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifdef WIN32
/// Callback for the systray configuration option /// Callback for the systray configuration option
static int onSystrayChange( vlc_object_t *pObj, const char *pVariable, static int onSystrayChange( vlc_object_t *pObj, const char *pVariable,
vlc_value_t oldVal, vlc_value_t newVal, vlc_value_t oldVal, vlc_value_t newVal,
...@@ -418,7 +419,7 @@ static int onTaskBarChange( vlc_object_t *pObj, const char *pVariable, ...@@ -418,7 +419,7 @@ static int onTaskBarChange( vlc_object_t *pObj, const char *pVariable,
vlc_object_release( pIntf ); vlc_object_release( pIntf );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
#endif
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Module descriptor // Module descriptor
......
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