Commit 92530397 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

OMX IL assumes dlfcn.h, remove redumdant ifdefs

parent da3168f3
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
# include "config.h" # include "config.h"
#endif #endif
#if defined(HAVE_DL_DLOPEN) #include <dlfcn.h>
# include <dlfcn.h> #define dll_open(name) dlopen( name, RTLD_NOW )
#endif #define dll_close(handle) dlclose(handle)
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_plugin.h> #include <vlc_plugin.h>
...@@ -53,17 +53,6 @@ static const char *ppsz_dll_list[] = ...@@ -53,17 +53,6 @@ static const char *ppsz_dll_list[] =
0 0
}; };
/*****************************************************************************
* defines
*****************************************************************************/
#if defined(HAVE_DL_DLOPEN)
# define dll_open(name) dlopen( name, RTLD_NOW )
# define dll_close(handle) dlclose(handle)
#else
# define dll_open(name) (NULL)
# define dll_close(handle) (void)0
#endif
/***************************************************************************** /*****************************************************************************
* Local prototypes * Local prototypes
*****************************************************************************/ *****************************************************************************/
......
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