vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Thu Sep 29 15:34:02 2011 +0200| [7d3897bb6527c450e2fdfe89c1b6d321a00a1526] | committer: Jean-Baptiste Kempf
OMX: try to fix compilation issue on INT_MAX > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7d3897bb6527c450e2fdfe89c1b6d321a00a1526 --- modules/codec/omxil/omxil.c | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c index fd272bf..d11b317 100644 --- a/modules/codec/omxil/omxil.c +++ b/modules/codec/omxil/omxil.c @@ -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> _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
