[vlc-devel] [PATCH 10/41] Disable check_OS_capability() on OS/2

KO Myung-Hun komh78 at gmail.com
Tue Oct 11 13:01:31 CEST 2011



Rémi Denis-Courmont wrote:
> Le lundi 10 octobre 2011 18:07:33 KO Myung-Hun, vous avez écrit :
>> Hi/2.
>>
>> Rémi Denis-Courmont wrote:
>>> On Mon, 10 Oct 2011 20:43:49 +0900, KO Myung-Hun <komh at chollian.net>
>>>
>>> wrote:
>>>> ---
>>>>
>>>>  src/misc/cpu.c |    4 ++--
>>>>  1 files changed, 2 insertions(+), 2 deletions(-)
>>>>
>>>> diff --git a/src/misc/cpu.c b/src/misc/cpu.c
>>>> index 63a4bd2..22005c1 100644
>>>> --- a/src/misc/cpu.c
>>>> +++ b/src/misc/cpu.c
>>>> @@ -53,7 +53,7 @@ static uint32_t cpu_flags;
>>>>
>>>>  #if defined( __i386__ ) || defined( __x86_64__ ) || defined(
>>>
>>> __powerpc__
>>>
>>>>  ) \
>>>>  
>>>>   || defined( __ppc__ ) || defined( __ppc64__ ) || defined(
>>>
>>> __powerpc64__ )
>>>
>>>> -# ifndef WIN32
>>>> +# if !defined( WIN32 ) && !defined( __OS2__ )
>>>>
>>>>  static bool check_OS_capability( const char *psz_capability, pid_t pid
>>>
>>> )
>>>
>>>>  {
>>>>  
>>>>      int status;
>>>>
>>>> @@ -86,7 +86,7 @@ static bool check_OS_capability( const char
>>>> *psz_capability, pid_t pid )
>>>>
>>>>              i_capabilities |= (flag);                   \
>>>>       
>>>>       } while(0)
>>>>
>>>> -# else /* WIN32 */
>>>> +# else /* WIN32 && __OS2__ */
>>>
>>> Cosmetic, but it should read WIN32 || __OS2__.
>>
>> Exactly. Should I resend ?
> 
> That would be easier, yes.
> 

Ok.

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.0.14
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 1GHz with 512 MB RAM

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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0010-Disable-check_OS_capability-on-OS-2.patch
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111011/e42e0ad9/attachment.ksh>


More information about the vlc-devel mailing list