[vlc-devel] [PATCH 1/3] WinRT: define a simple WINRT define than WINAPI_FAMILY_APP
    Rafaël Carré 
    funman at videolan.org
       
    Tue Jan  8 14:51:24 CET 2013
    
    
  
Le 08/01/2013 14:31, Rémi Denis-Courmont a écrit :
> On Tue,  8 Jan 2013 13:44:34 +0100, Jean-Baptiste Kempf <jb at videolan.org>
> wrote:
>> This will allow us to use #ifdef(WINRT) in the code
[1]
> Comment is wrong.
>> +     *
>> http://msdn.microsoft.com/en-us/library/windows/apps/xaml/br205757.aspx
>> +     **/
>> +#      define VLC_WINRT
> 
> What's the point anyway? 
I think the obvious point is to #ifdef specific code present and/or
absent from WinRT (see [1])
> We don't define VLC_WINDOWS and VLC_MACOS...
Well we use compiler defines for these platforms.
> 
>> +#   endif
>>  #   include <malloc.h>
>>  #   ifndef PATH_MAX
>>  #       define PATH_MAX MAX_PATH
> 
    
    
More information about the vlc-devel
mailing list