Commit 7d3897bb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

OMX: try to fix compilation issue on INT_MAX

parent e4d3e52f
......@@ -30,15 +30,17 @@
#include <dlfcn.h>
#if defined(USE_IOMX)
#include "iomx.h"
#define dll_open(name) iomx_dlopen(name)
#define dll_close(handle) iomx_dlclose(handle)
#define dlsym(handle, name) iomx_dlsym(handle, name)
# include "iomx.h"
# define dll_open(name) iomx_dlopen(name)
# define dll_close(handle) iomx_dlclose(handle)
# define dlsym(handle, name) iomx_dlsym(handle, name)
#else
#define dll_open(name) dlopen( name, RTLD_NOW )
#define dll_close(handle) dlclose(handle)
# define dll_open(name) dlopen( name, RTLD_NOW )
# define dll_close(handle) dlclose(handle)
#endif
#include <limits.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_codec.h>
......
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