[vlc-devel] [PATCH 2/2] vlc_fixups: define EPROTO if necessary on OS/2

KO Myung-Hun komh78 at gmail.com
Thu Oct 6 11:52:28 CEST 2016



Rémi Denis-Courmont wrote:
> Le torstaina 29. syyskuuta 2016, 15.34.48 EEST KO Myung-Hun a écrit :
>> ---
>>  include/vlc_fixups.h | 5 +++++
>>  1 file changed, 5 insertions(+)
>>
>> diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
>> index 7a76ef4..f87179d 100644
>> --- a/include/vlc_fixups.h
>> +++ b/include/vlc_fixups.h
>> @@ -473,6 +473,11 @@ struct addrinfo
>>  };
>>
>>  void freeaddrinfo (struct addrinfo *res);
>> +
>> +# include <errno.h>
>> +# ifndef EPROTO
>> +#  define EPROTO (ELAST + 1)
>> +# endif
>>  #endif
>>
>>  /* math.h */
> 
> Not sure going beyond ELAST is a good idea. Isn´t there a sys_errlist[] or 
> equivalent on OS/2?
> 

EPROTONOSUPPORT /* Protocol not supported */ ?

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr



More information about the vlc-devel mailing list