[vlc-devel] [PATCH 11/41] Implement cdrom tools to access audio/video CD on OS/2

Rémi Denis-Courmont remi at remlab.net
Tue Oct 11 19:01:02 CEST 2011


Le lundi 10 octobre 2011 14:43:50 KO Myung-Hun, vous avez écrit :
> ---
>  configure.ac                         |    2 +-
>  modules/access/vcd/cdrom.c           |  131
> +++++++++++++++++++++++++++++++++- modules/access/vcd/cdrom_internals.h | 
>  53 ++++++++++++++
>  3 files changed, 183 insertions(+), 3 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 02d7c72..b6fb801 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2042,7 +2042,7 @@ then
>      AC_MSG_RESULT(no)
>    ])
> 
> -  if test "${SYS}" = "bsdi" -o "${SYS}" = "mingw32"
> +  if test "${SYS}" = "bsdi" -o "${SYS}" = "mingw32" -o "${SYS}" = "os2"
>    then
>      VLC_ADD_PLUGIN([vcd cdda])
>    fi
> diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c
> index 3f260a2..d95c8fd 100644
> --- a/modules/access/vcd/cdrom.c
> +++ b/modules/access/vcd/cdrom.c
> @@ -30,6 +30,10 @@
>  # include "config.h"
>  #endif
> 
> +#ifdef __OS2__
> +#   define INCL_DOSDEVIOCTL
> +#endif

Any reason why this is not #include <os2.h> ?

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list