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

This reverts commit af3992374e.

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

Signed-off-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andre Heider 2018-11-18 18:26:21 +01:00 committed by Alexandre Julliard
parent c94314085c
commit 6d4d8f2ea0
1 changed files with 1 additions and 1 deletions

View File

@ -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)