fpos_t should be 64 bits (verified with native MSVCRT.DLL)
This commit is contained in:
parent
66725349d5
commit
cc89feb9c4
|
@ -55,7 +55,7 @@ typedef unsigned int MSVCRT__dev_t;
|
||||||
typedef int MSVCRT__off_t;
|
typedef int MSVCRT__off_t;
|
||||||
typedef long MSVCRT_clock_t;
|
typedef long MSVCRT_clock_t;
|
||||||
typedef long MSVCRT_time_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_handler)();
|
||||||
typedef void (*MSVCRT_terminate_function)();
|
typedef void (*MSVCRT_terminate_function)();
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
#define __WINE_USE_MSVCRT
|
#define __WINE_USE_MSVCRT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(_MSC_VER) && !defined(__int64)
|
||||||
|
/* FIXME: not compatible, but needed for __int64 definition */
|
||||||
|
#include <basetsd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef RC_INVOKED
|
#ifndef RC_INVOKED
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -71,7 +76,7 @@ typedef struct _iobuf
|
||||||
#endif /* _FILE_DEFINED */
|
#endif /* _FILE_DEFINED */
|
||||||
|
|
||||||
#ifndef _FPOS_T_DEFINED
|
#ifndef _FPOS_T_DEFINED
|
||||||
typedef long fpos_t;
|
typedef __int64 fpos_t;
|
||||||
#define _FPOS_T_DEFINED
|
#define _FPOS_T_DEFINED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue