[INCLUDE/WINE][USER32_APITEST] Add ARRAY_SIZE to test.h and remove it from RealGetWindowClass.c. CORE-14656

This commit is contained in:
Amine Khaldi 2018-05-27 04:05:33 +01:00
parent 2f668a30bd
commit 41e2b83f96
2 changed files with 1 additions and 2 deletions

View file

@ -7,8 +7,6 @@
#include "precomp.h"
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
static PWSTR ControlsList[] =
{
L"Button\0",

View file

@ -155,6 +155,7 @@ extern void __winetest_cdecl winetest_trace( const char *msg, ... );
#define todo_wine_if(is_todo) todo_if((is_todo) && !strcmp(winetest_platform, "wine"))
#endif
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#ifdef NONAMELESSUNION
# define U(x) (x).u