57#ifdef __WINE_USE_MSVCRT
59#define __WINE_MSVCRT_TEST
64#define TYPEOF(type) typeof(type)
66#define TYPEOF(type) int
68#define MSVCRT(x) MSVCRT_##x
69#define CHECK_SIZE(e) ok(sizeof(e) == sizeof(MSVCRT(e)), "Element has different sizes\n")
70#define CHECK_TYPE(t) { TYPEOF(t) a = 0; TYPEOF(MSVCRT(t)) b = a; a = b; CHECK_SIZE(t); }
71#define CHECK_STRUCT(s) ok(sizeof(struct s) == sizeof(struct MSVCRT(s)), "Struct has different sizes\n")
72#define CHECK_FIELD(s,e) ok(offsetof(struct s,e) == offsetof(struct MSVCRT(s),e), "Bad offset\n")
73#define CHECK_DEF(d) ok(d == MSVCRT_##d, "Defines (MSVCRT_)" #d " are different: %d vs. %d\n", d, MSVCRT_##d)
76static void test_types(
void)
90 CHECK_TYPE(__time64_t);
100 CHECK_TYPE(__sighandler_t);
104static void test_structs(
void)
121 CHECK_STRUCT(__timeb64);
174 CHECK_STRUCT(__JUMP_BUFFER);
199 CHECK_STRUCT(_finddatai64_t);
213 CHECK_STRUCT(_wfinddatai64_t);
223 CHECK_STRUCT(__utimbuf64);
238 CHECK_STRUCT(_stati64);
250 CHECK_STRUCT(_stat64);
266static void test_defines(
void)
454 CHECK_DEF(_EM_AMBIGUOUS);
466#ifdef __WINE_USE_MSVCRT
void modtime(int argc, const char *argv[])
_Must_inspect_result_ _In_ CONST FLT_REGISTRATION * Registration
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei GLenum type
GLint GLint GLint GLint GLint GLint y
GLuint GLuint GLuint GLuint arg1
GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2
void(__cdecl * _se_translator_function)(unsigned int, struct _EXCEPTION_POINTERS *)
void(__cdecl * terminate_handler)(void)
void(__cdecl * unexpected_function)(void)
void(__cdecl * unexpected_handler)(void)
void(__cdecl * terminate_function)(void)
#define _DN_SAVE_OPERANDS_FLUSH_RESULTS
#define _SW_STACKOVERFLOW
#define _FPE_STACKOVERFLOW
#define _SW_STACKUNDERFLOW
#define _FPE_STACKUNDERFLOW
#define _DN_FLUSH_OPERANDS_SAVE_RESULTS
#define _TWO_DIGIT_EXPONENT
__MINGW_EXTENSION typedef long long fpos_t
int(__cdecl * _onexit_t)(void)
#define _CALL_REPORTFAULT
static int sectors_per_cluster
#define CHECK_FIELD(m, f)
void(* _beginthread_start_routine_t)(void *)
vector< Header * > headers
_In_opt_ PVOID _Out_ PLARGE_INTEGER Cookie