[WINESYNC] makefiles: Build all tests with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id d4ef782db7928e0deed5f0b43a8a1557cae0358e by Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
winesync 2022-03-13 01:24:02 +01:00 committed by Mark Jansen
parent 3b835aa0ab
commit a32b4b85c6
No known key found for this signature in database
GPG Key ID: B39240EE84BEAE8B
2 changed files with 8 additions and 8 deletions

View File

@ -34,15 +34,15 @@
static int todo_level, todo_do_loop;
static void ok_(MSIHANDLE hinst, int todo, const char *file, int line, int condition, const char *msg, ...)
static void WINAPIV ok_(MSIHANDLE hinst, int todo, const char *file, int line, int condition, const char *msg, ...)
{
static char buffer[2000];
MSIHANDLE record;
va_list valist;
__ms_va_list valist;
va_start(valist, msg);
__ms_va_start(valist, msg);
vsprintf(buffer, msg, valist);
va_end(valist);
__ms_va_end(valist);
record = MsiCreateRecord(5);
MsiRecordSetInteger(record, 1, todo);

View File

@ -36,15 +36,15 @@ static const char *mstfile = "winetst-db.mst";
static const WCHAR msifileW[] = {'w','i','n','e','t','e','s','t','-','d','b','.','m','s','i',0};
static const WCHAR msifile2W[] = {'w','i','n','e','t','s','t','2','-','d','b','.','m','s','i',0};
static void check_record_(int line, MSIHANDLE rec, UINT count, ...)
static void WINAPIV check_record_(int line, MSIHANDLE rec, UINT count, ...)
{
va_list args;
__ms_va_list args;
UINT i;
ok_(__FILE__, line)(count == MsiRecordGetFieldCount(rec),
"expected %u fields, got %u\n", count, MsiRecordGetFieldCount(rec));
va_start(args, count);
__ms_va_start(args, count);
for (i = 1; i <= count; ++i)
{
@ -57,7 +57,7 @@ static void check_record_(int line, MSIHANDLE rec, UINT count, ...)
"field %u: expected \"%s\", got \"%s\"\n", i, expect, buffer);
}
va_end(args);
__ms_va_end(args);
}
#define check_record(rec, ...) check_record_(__LINE__, rec, __VA_ARGS__)