Commit 25915300 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

windowscodecs: Fix compilation on systems that don't support nameless unions.

parent 65223932
......@@ -21,6 +21,7 @@
#include <stdarg.h>
#define COBJMACROS
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
......@@ -567,8 +568,8 @@ static HRESULT LoadUnknownMetadata(IStream *input, const GUID *preferred_vendor,
PropVariantInit(&result[0].value);
result[0].value.vt = VT_BLOB;
result[0].value.blob.cbSize = bytesread;
result[0].value.blob.pBlobData = data;
result[0].value.u.blob.cbSize = bytesread;
result[0].value.u.blob.pBlobData = data;
*items = result;
*item_count = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment