fpos_t should be 64 bits (verified with native MSVCRT.DLL)

This commit is contained in:
Lionel Ulmer 2005-01-04 20:38:14 +00:00 committed by Alexandre Julliard
parent 66725349d5
commit cc89feb9c4
2 changed files with 7 additions and 2 deletions

View File

@ -55,7 +55,7 @@ typedef unsigned int MSVCRT__dev_t;
typedef int MSVCRT__off_t;
typedef long MSVCRT_clock_t;
typedef long MSVCRT_time_t;
typedef long MSVCRT_fpos_t;
typedef __int64 MSVCRT_fpos_t;
typedef void (*MSVCRT_terminate_handler)();
typedef void (*MSVCRT_terminate_function)();

View File

@ -11,6 +11,11 @@
#define __WINE_USE_MSVCRT
#endif
#if !defined(_MSC_VER) && !defined(__int64)
/* FIXME: not compatible, but needed for __int64 definition */
#include <basetsd.h>
#endif
#ifndef RC_INVOKED
#include <stdarg.h>
#endif
@ -71,7 +76,7 @@ typedef struct _iobuf
#endif /* _FILE_DEFINED */
#ifndef _FPOS_T_DEFINED
typedef long fpos_t;
typedef __int64 fpos_t;
#define _FPOS_T_DEFINED
#endif