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

Jean-Baptiste Kempf jb at videolan.org
Wed Dec 21 01:37:22 CET 2011


On Tue, Dec 20, 2011 at 08:29:46PM +0900, KO Myung-Hun 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.

I am really not at ease with that...

BITMAPINFOHEADER is quite defined by MicroSoft. Any way to undef the
OS/2 defines?


-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list