[vlc-devel] [PATCH 05/41] Define the some macros to avoid name clashes on OS/2.

Rémi Denis-Courmont remi at remlab.net
Mon Oct 10 14:52:22 CEST 2011


On Mon, 10 Oct 2011 20:43:44 +0900, KO Myung-Hun <komh at chollian.net>
wrote:
> They are
> 
>     #define BITMAPINFOHEADER    VLC_BITMAPINFOHEADER
>     #define PBITMAPINFOHEADER   VLC_PBITMAPINFOHEADER
>     #define LPBITMAPINFOHEADER  VLC_LPBITMAPINFOHEADER
>     #define BITMAPINFO          VLC_BITMAPINFO
>     #define LPBITMAPINFO        VLC_LPBITMAPINFO
> 
> OS/2 has already the types of the same name, but the different member
name.

IMHO, we shouldn't be using the Microsoft names in the first place... Oh
well.

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



More information about the vlc-devel mailing list