Porting fixes.
This commit is contained in:
parent
8eb5e68168
commit
5f8223670a
|
@ -3373,11 +3373,11 @@ static void test_VarUdateFromDate(void)
|
|||
}
|
||||
|
||||
#define UD2T(d,m,y,h,mn,s,ms,dw,dy,flags,r,dt) \
|
||||
ud.st.wYear = y; ud.st.wMonth = m; ud.st.wDay = d; ud.st.wHour = h; \
|
||||
ud.st.wMinute = mn; ud.st.wSecond = s; ud.st.wMilliseconds = ms; \
|
||||
ud.st.wDayOfWeek = dw; ud.wDayOfYear = dy; \
|
||||
res = pVarDateFromUdate(&ud, flags, &out); \
|
||||
ok(r == res && (FAILED(r) || fabs(out-dt) < 1.0e-11), \
|
||||
ud.st.wYear = (y); ud.st.wMonth = (m); ud.st.wDay = (d); ud.st.wHour = (h); \
|
||||
ud.st.wMinute = (mn); ud.st.wSecond = (s); ud.st.wMilliseconds = (ms); \
|
||||
ud.st.wDayOfWeek = (dw); ud.wDayOfYear = (dy); \
|
||||
res = pVarDateFromUdate(&ud, (flags), &out); \
|
||||
ok((r) == res && (FAILED(r) || fabs(out-(dt)) < 1.0e-11), \
|
||||
"expected %lx, %.16g, got %lx, %.16g\n", r, dt, res, out)
|
||||
|
||||
static void test_VarDateFromUdate(void)
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include "winuser.h"
|
||||
#include "shlguid.h"
|
||||
#include "shobjidl.h"
|
||||
#include "wine/debug.h"
|
||||
#define NO_SHLWAPI_REG
|
||||
#define NO_SHLWAPI_PATH
|
||||
#define NO_SHLWAPI_GDI
|
||||
|
|
Loading…
Reference in New Issue