[vlc-devel] [PATCH] vlc_fixups: fix OS/2 compilation

Rémi Denis-Courmont remi at remlab.net
Thu Jul 2 22:17:26 CEST 2015


Le lundi 29 juin 2015, 20:50:55 KO Myung-Hun a écrit :
> ---
>  include/vlc_fixups.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
> index b3e1577..9850ccd 100644
> --- a/include/vlc_fixups.h
> +++ b/include/vlc_fixups.h
> @@ -366,10 +366,6 @@ long jrand48 (unsigned short subi[3]);
>  long nrand48 (unsigned short subi[3]);
>  #endif
> 
> -#ifdef __cplusplus
> -} /* extern "C" */
> -#endif
> -
>  #ifdef __OS2__
>  # undef HAVE_FORK   /* Implementation of fork() is imperfect on OS/2 */
> 
> @@ -388,6 +384,10 @@ struct addrinfo
>  void freeaddrinfo (struct addrinfo *res);
>  #endif
> 
> +#ifdef __cplusplus
> +} /* extern "C" */
> +#endif
> +

Rather than move it from the wrong place to another wrong place, you might as 
well put it in the correct place...

>  /* math.h */
> 
>  #ifndef HAVE_NANF

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list