[vlc-devel] [PATCH 2/3] Define the some macros to avoid name clashes on OS/2.
komh78 at gmail.com
Wed Dec 21 12:49:32 CET 2011
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'.
Using Mozilla SeaMonkey 2.0.14
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 1GHz with 512 MB RAM
Korean OS/2 User Community : http://www.ecomstation.co.kr
More information about the vlc-devel