mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00: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:
parent
74a357b733
commit
eee30602c5
@ -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__))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user