* include/mmsystem.h (_LPCWAVEFORMATEX_DEFINED): Define.
Use as guard for the WAVEFORMATEX structure instead of _WAVEFORMATEX_ to avoid clashes with DirectSound. Keep _WAVEFORMATEX_ for compatibility. Thanks to: Andrew Jones <guln at sf dot net>
This commit is contained in:
@ -1009,7 +1009,8 @@ typedef struct pcmwaveformat_tag {
|
||||
WAVEFORMAT wf;
|
||||
WORD wBitsPerSample;
|
||||
} PCMWAVEFORMAT, *PPCMWAVEFORMAT,*LPPCMWAVEFORMAT;
|
||||
#ifndef _WAVEFORMATEX_
|
||||
#ifndef _LPCWAVEFORMATEX_DEFINED
|
||||
#define _LPCWAVEFORMATEX_DEFINED
|
||||
#define _WAVEFORMATEX_
|
||||
typedef struct tWAVEFORMATEX {
|
||||
WORD wFormatTag;
|
||||
|
Reference in New Issue
Block a user