[vlc-devel] [PATCH 2/3] Define the some macros to avoid name clashes on OS/2.
funman at videolan.org
Sat Jan 28 04:02:42 CET 2012
Le 11-12-21 06:49, KO Myung-Hun a écrit :
> Jean-Baptiste Kempf wrote:
>> 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?
> Unfortunately, it is also defined by IBM.
> I'm sorry I don't know how to undef 'typedef'.
What are the differences ?
shows a different name for OS/2 but perhaps it's only an alias?
More information about the vlc-devel