Commit a003603f authored by Rafaël Carré's avatar Rafaël Carré

removes some warnings on FreeBSD

parent 75912d9c
...@@ -69,7 +69,7 @@ VLC_EXPORT( void, __vlc_thread_join, ( vlc_object_t *, const char *, int ) ); ...@@ -69,7 +69,7 @@ VLC_EXPORT( void, __vlc_thread_join, ( vlc_object_t *, const char *, int ) );
#define vlc_mutex_lock( P_MUTEX ) \ #define vlc_mutex_lock( P_MUTEX ) \
__vlc_mutex_lock( __FILE__, __LINE__, P_MUTEX ) __vlc_mutex_lock( __FILE__, __LINE__, P_MUTEX )
#ifdef __APPLE__ #if defined( __APPLE__ ) || defined( __FreeBSD__ )
# define CAST_PTHREAD_TO_INT(t) (unsigned long int)(uintptr_t)(void *)t # define CAST_PTHREAD_TO_INT(t) (unsigned long int)(uintptr_t)(void *)t
#else #else
# define CAST_PTHREAD_TO_INT(t) (unsigned long int)t # define CAST_PTHREAD_TO_INT(t) (unsigned long int)t
......
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