Commit 685eb491 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

Enable SDL vout module on OS/2

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent e0e775bd
...@@ -3129,7 +3129,7 @@ then ...@@ -3129,7 +3129,7 @@ then
if test "${SYS}" != "darwin"; then if test "${SYS}" != "darwin"; then
VLC_ADD_PLUGIN([vout_sdl]) VLC_ADD_PLUGIN([vout_sdl])
fi fi
if test "${SYS}" != "mingw32"; then if test "${SYS}" != "mingw32" -a "${SYS}" != "os2"; then
VLC_ADD_LIBS([vout_sdl],[${X_LIBS} ${X_PRE_LIBS} -lX11]) VLC_ADD_LIBS([vout_sdl],[${X_LIBS} ${X_PRE_LIBS} -lX11])
fi fi
VLC_ADD_CFLAGS([vout_sdl],[${SDL_CFLAGS}]) VLC_ADD_CFLAGS([vout_sdl],[${SDL_CFLAGS}])
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include <SDL.h> #include <SDL.h>
#ifndef WIN32 #if !defined(WIN32) && !defined(__OS2__)
# ifdef X_DISPLAY_MISSING # ifdef X_DISPLAY_MISSING
# error Xlib required due to XInitThreads # error Xlib required due to XInitThreads
# endif # endif
...@@ -116,7 +116,7 @@ static int Open(vlc_object_t *object) ...@@ -116,7 +116,7 @@ static int Open(vlc_object_t *object)
vout_display_t *vd = (vout_display_t *)object; vout_display_t *vd = (vout_display_t *)object;
vout_display_sys_t *sys; vout_display_sys_t *sys;
#ifndef WIN32 #if !defined(WIN32) && !defined(__OS2__)
if (!vlc_xlib_init (object)) if (!vlc_xlib_init (object))
return VLC_EGENERIC; return VLC_EGENERIC;
#endif #endif
......
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