* win32_specific.c, threads.c: fix win32 compilation.
#endif
};
-static inline libvlc_global_data_t *vlc_global( vlc_object_t *p_this )
+#define vlc_global( a ) __vlc_global( VLC_OBJECT( a ) )
+static inline libvlc_global_data_t *__vlc_global( vlc_object_t *p_this )
{
return (libvlc_global_data_t *)p_this->p_libvlc_global;
}
#elif defined( ST_INIT_IN_ST_H )
#elif defined( UNDER_CE )
#elif defined( WIN32 )
+ b_fast_mutex = config_GetInt( p_this, "fast-mutex" );
+ i_win9x_cv = config_GetInt( p_this, "win9x-cv-method" );
#elif defined( HAVE_KERNEL_SCHEDULER_H )
#elif defined( PTHREAD_COND_T_IN_PTHREAD_H )
pthread_mutex_lock( &once_mutex );
void system_Configure( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
{
#if !defined( UNDER_CE )
- p_this->p_libvlc_global->b_fast_mutex = config_GetInt( p_this, "fast-mutex" );
- p_this->p_libvlc_global->i_win9x_cv = config_GetInt( p_this, "win9x-cv-method" );
-
/* Raise default priority of the current process */
#ifndef ABOVE_NORMAL_PRIORITY_CLASS
# define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000