Mercurial Patch Queue for Windows System Libraries
修訂. | e77cb33f187d5ad50a65a3d89ee9485d926347bc |
---|---|
大小 | 878 bytes |
時間 | 2019-04-02 03:25:55 |
作者 | Keith Marshall |
Log Message | Handle w32api directory rename for 6.0-exp bookmark. |
# HG changeset patch
# Parent ef6c66bd88efdead39bbd247283c4079520de423
Fix <amvideo.h> syntax error.
diff --git a/wslapi/include/amvideo.h b/wslapi/include/amvideo.h
--- a/wslapi/include/amvideo.h
+++ b/wslapi/include/amvideo.h
@@ -1,10 +1,8 @@
#ifndef _AMVIDEO_H
#define _AMVIDEO_H
-#if __GNUC__ >=3
#pragma GCC system_header
-#endif
#include <ddraw.h>
#include <strmif.h>
#ifdef __cplusplus
@@ -50,14 +48,14 @@ typedef struct tagVIDEOINFOHEADER {
DWORD dwBitErrorRate;
REFERENCE_TIME AvgTimePerFrame;
BITMAPINFOHEADER bmiHeader;
} VIDEOINFOHEADER;
typedef struct tagVIDEOINFO {
- RECT rcSource,
- RECT rcTarget,
- DWORD dwBitRate,
- DWORD dwBitErrorRate,
+ RECT rcSource;
+ RECT rcTarget;
+ DWORD dwBitRate;
+ DWORD dwBitErrorRate;
REFERENCE_TIME AvgTimePerFrame;
BITMAPINFOHEADER bmiHeader;
union {
RGBQUAD bmiColors[256];
DWORD dwBitMasks[3];