[MPlayer-cvslog] r29071 - trunk/libmpdemux/ms_hdr.h

reimar subversion at mplayerhq.hu
Fri Mar 27 19:55:21 CET 2009


Author: reimar
Date: Fri Mar 27 19:55:21 2009
New Revision: 29071

Log:
Check for _WINGDI_ instead of _WINGDI_H before defining BITMAPINFOHEADER
since former works on both 32 and 64 bit MinGW

Modified:
   trunk/libmpdemux/ms_hdr.h

Modified: trunk/libmpdemux/ms_hdr.h
==============================================================================
--- trunk/libmpdemux/ms_hdr.h	Fri Mar 27 19:51:32 2009	(r29070)
+++ trunk/libmpdemux/ms_hdr.h	Fri Mar 27 19:55:21 2009	(r29071)
@@ -27,7 +27,7 @@ typedef struct __attribute__((__packed__
 #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__))
 {


More information about the MPlayer-cvslog mailing list