https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d65c0d5adad696fa1ab23…
commit d65c0d5adad696fa1ab23c4e0e8a56764e6b80b3
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sun May 27 09:51:38 2018 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sun May 27 09:51:38 2018 +0200
[WINETESTS] Fix build
CORE-14656
---
modules/rostests/winetests/user32/cursoricon.c | 2 ++
modules/rostests/winetests/xmllite/reader.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/modules/rostests/winetests/user32/cursoricon.c
b/modules/rostests/winetests/user32/cursoricon.c
index 5099c08d70..e42875f925 100644
--- a/modules/rostests/winetests/user32/cursoricon.c
+++ b/modules/rostests/winetests/user32/cursoricon.c
@@ -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)
{
diff --git a/modules/rostests/winetests/xmllite/reader.c
b/modules/rostests/winetests/xmllite/reader.c
index 975724ab18..e8e504a0f5 100644
--- a/modules/rostests/winetests/xmllite/reader.c
+++ b/modules/rostests/winetests/xmllite/reader.c
@@ -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);