1
mirror of https://github.com/mpv-player/mpv synced 2024-10-02 16:25:33 +02:00

Check for _WINGDI_ instead of _WINGDI_H before defining BITMAPINFOHEADER

since former works on both 32 and 64 bit MinGW

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29071 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-03-27 18:55:21 +00:00
parent 74a357b733
commit eee30602c5

View File

@ -27,7 +27,7 @@ typedef struct __attribute__((__packed__)) mpeglayer3waveformat_tag {
#endif /* _MPEGLAYER3WAVEFORMAT_ */
/* windows.h #includes wingdi.h on MinGW. */
#if !defined(_BITMAPINFOHEADER_) && !defined(_WINGDI_H)
#if !defined(_BITMAPINFOHEADER_) && !defined(_WINGDI_)
#define _BITMAPINFOHEADER_
typedef struct __attribute__((__packed__))
{