[vlc-devel] [PATCH 2/2] MinGW/MSys compilation fix

Sergey Radionov rsatom at gmail.com
Wed Sep 19 10:09:24 CEST 2012


2012/9/19 Rémi Denis-Courmont <remi at remlab.net>:
> Le mercredi 19 septembre 2012 10:19:00, Sergey Radionov a écrit :
>> ---
>>  include/vlc_cpu.h | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/include/vlc_cpu.h b/include/vlc_cpu.h
>> index 5b108fc..9b42c4f 100644
>> --- a/include/vlc_cpu.h
>> +++ b/include/vlc_cpu.h
>> @@ -53,7 +53,7 @@ VLC_API unsigned vlc_CPU(void);
>>  #  if VLC_GCC_VERSION(4, 4)
>>  #   define VLC_MMX __attribute__ ((__target__ ("mmx")))
>>  #  else
>> -#   define VLC_MMX VLC_MMX_is_not_implemented_on_this_compiler
>> +#   define VLC_MMX /*VLC_MMX_is_not_implemented_on_this_compiler*/
>
>
> And the implementation is where exactly??
what implementation are you talking about? I am on Intel i3 cpu, and
can't compile vlc with this macro, is it correct?

>
> Come on...
>
>>  #  endif
>>  # endif
>>
>> @@ -67,7 +67,7 @@ VLC_API unsigned vlc_CPU(void);
>>  #  if VLC_GCC_VERSION(4, 4)
>>  #   define VLC_SSE __attribute__ ((__target__ ("sse")))
>>  #  else
>> -#   define VLC_SSE VLC_SSE_is_not_implemented_on_this_compiler
>> +#   define VLC_SSE /*VLC_SSE_is_not_implemented_on_this_compiler*/
>>  #  endif
>>  # endif
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list