Skip to content
Snippets Groups Projects
Commit 6d4d8f2e authored by Andre Heider's avatar Andre Heider Committed by Alexandre Julliard
Browse files

Revert "include: Use the ARRAY_SIZE() macro in debug.h.".


This reverts commit af399237.

wine/debug.h is a public header, and ARRAY_SIZE() is not defined for
external projects.

Signed-off-by: default avatarAndre Heider <a.heider@gmail.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent c9431408
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ static inline const char *wine_dbgstr_vt( VARTYPE vt )
if (vt & ~VT_TYPEMASK)
return wine_dbg_sprintf( "%s%s", wine_dbgstr_vt(vt&VT_TYPEMASK), variant_flags[vt>>12] );
if (vt < ARRAY_SIZE(variant_types))
if (vt < sizeof(variant_types)/sizeof(*variant_types))
return variant_types[vt];
if (vt == VT_BSTR_BLOB)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment