changeset 29036:69d26a2ce817

Check for _WINGDI_ instead of _WINGDI_H before defining BITMAPINFOHEADER since former works on both 32 and 64 bit MinGW
author reimar
date Fri, 27 Mar 2009 18:55:21 +0000
parents dc02213118a4
children 77ebd4202149
files libmpdemux/ms_hdr.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/ms_hdr.h	Fri Mar 27 18:51:32 2009 +0000
+++ b/libmpdemux/ms_hdr.h	Fri Mar 27 18:55:21 2009 +0000
@@ -27,7 +27,7 @@
 #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__))
 {