[WINETESTS] Fix build 527/head
authorPierre Schweitzer <pierre@reactos.org>
Sun, 27 May 2018 07:51:38 +0000 (09:51 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 27 May 2018 07:51:38 +0000 (09:51 +0200)
CORE-14656

modules/rostests/winetests/user32/cursoricon.c
modules/rostests/winetests/xmllite/reader.c

index 5099c08..e42875f 100644 (file)
@@ -1053,7 +1053,9 @@ static const DWORD biSize_tests[] = {
     0xffffffff
 };
 
+#ifndef __REACTOS__
 #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0]))
+#endif
 
 static void test_LoadImageBitmap(const char * test_desc, HBITMAP hbm)
 {
index 975724a..e8e504a 100644 (file)
@@ -32,7 +32,9 @@
 #include "wine/test.h"
 #include "wine/heap.h"
 
+#ifndef __REACTOS__
 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0]))
+#endif
 
 DEFINE_GUID(IID_IXmlReaderInput, 0x0b3ccc9b, 0x9214, 0x428b, 0xa2, 0xae, 0xef, 0x3a, 0xa8, 0x71, 0xaf, 0xda);