Porting fixes.

This commit is contained in:
Alexandre Julliard 2003-11-28 23:19:30 +00:00
parent 8eb5e68168
commit 5f8223670a
2 changed files with 5 additions and 6 deletions

View File

@ -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)

View File

@ -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