Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
94529273
Commit
94529273
authored
Jul 10, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/msvcrt: Fix all definitions of size_t for Win64.
parent
429cd9e8
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
69 additions
and
15 deletions
+69
-15
direct.h
include/msvcrt/direct.h
+8
-0
malloc.h
include/msvcrt/malloc.h
+7
-0
mbstring.h
include/msvcrt/mbstring.h
+8
-0
search.h
include/msvcrt/search.h
+8
-0
stdio.h
include/msvcrt/stdio.h
+8
-5
stdlib.h
include/msvcrt/stdlib.h
+6
-4
types.h
include/msvcrt/sys/types.h
+8
-0
time.h
include/msvcrt/time.h
+8
-0
wchar.h
include/msvcrt/wchar.h
+8
-6
No files found.
include/msvcrt/direct.h
View file @
94529273
...
@@ -22,8 +22,16 @@ typedef unsigned short wchar_t;
...
@@ -22,8 +22,16 @@ typedef unsigned short wchar_t;
#endif
#endif
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
#else
typedef
unsigned
int
size_t
;
typedef
unsigned
int
size_t
;
#endif
#define _SIZE_T_DEFINED
#define _SIZE_T_DEFINED
#endif
#endif
...
...
include/msvcrt/malloc.h
View file @
94529273
...
@@ -34,9 +34,16 @@
...
@@ -34,9 +34,16 @@
#define _FREEENTRY 0
#define _FREEENTRY 0
#define _USEDENTRY 1
#define _USEDENTRY 1
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
#else
typedef
unsigned
int
size_t
;
typedef
unsigned
int
size_t
;
#endif
#define _SIZE_T_DEFINED
#define _SIZE_T_DEFINED
#endif
#endif
...
...
include/msvcrt/mbstring.h
View file @
94529273
...
@@ -23,8 +23,16 @@
...
@@ -23,8 +23,16 @@
#define __WINE_USE_MSVCRT
#define __WINE_USE_MSVCRT
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
#else
typedef
unsigned
int
size_t
;
typedef
unsigned
int
size_t
;
#endif
#define _SIZE_T_DEFINED
#define _SIZE_T_DEFINED
#endif
#endif
...
...
include/msvcrt/search.h
View file @
94529273
...
@@ -23,8 +23,16 @@
...
@@ -23,8 +23,16 @@
#define __WINE_USE_MSVCRT
#define __WINE_USE_MSVCRT
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
#else
typedef
unsigned
int
size_t
;
typedef
unsigned
int
size_t
;
#endif
#define _SIZE_T_DEFINED
#define _SIZE_T_DEFINED
#endif
#endif
...
...
include/msvcrt/stdio.h
View file @
94529273
...
@@ -11,15 +11,14 @@
...
@@ -11,15 +11,14 @@
#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
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
/* file._flag flags */
/* file._flag flags */
#define _IOREAD 0x0001
#define _IOREAD 0x0001
#define _IOWRT 0x0002
#define _IOWRT 0x0002
...
@@ -81,7 +80,11 @@ typedef __int64 fpos_t;
...
@@ -81,7 +80,11 @@ typedef __int64 fpos_t;
#endif
#endif
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
#else
typedef
unsigned
int
size_t
;
typedef
unsigned
int
size_t
;
#endif
#define _SIZE_T_DEFINED
#define _SIZE_T_DEFINED
#endif
#endif
...
...
include/msvcrt/stdlib.h
View file @
94529273
...
@@ -26,10 +26,8 @@ typedef unsigned short wchar_t;
...
@@ -26,10 +26,8 @@ typedef unsigned short wchar_t;
#endif
#endif
#endif
#endif
#ifndef _MSC_VER
#if !defined(_MSC_VER) && !defined(__int64)
# ifndef __int64
#define __int64 long long
# define __int64 long long
# endif
#endif
#endif
#define EXIT_SUCCESS 0
#define EXIT_SUCCESS 0
...
@@ -56,7 +54,11 @@ typedef struct _ldiv_t {
...
@@ -56,7 +54,11 @@ typedef struct _ldiv_t {
}
ldiv_t
;
}
ldiv_t
;
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
#else
typedef
unsigned
int
size_t
;
typedef
unsigned
int
size_t
;
#endif
#define _SIZE_T_DEFINED
#define _SIZE_T_DEFINED
#endif
#endif
...
...
include/msvcrt/sys/types.h
View file @
94529273
...
@@ -23,6 +23,10 @@
...
@@ -23,6 +23,10 @@
#define __WINE_USE_MSVCRT
#define __WINE_USE_MSVCRT
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#ifndef _DEV_T_DEFINED
#ifndef _DEV_T_DEFINED
typedef
unsigned
int
_dev_t
;
typedef
unsigned
int
_dev_t
;
#define _DEV_T_DEFINED
#define _DEV_T_DEFINED
...
@@ -67,7 +71,11 @@ typedef int pid_t;
...
@@ -67,7 +71,11 @@ typedef int pid_t;
#endif
#endif
#ifndef _SSIZE_T_DEFINED
#ifndef _SSIZE_T_DEFINED
#ifdef _WIN64
typedef
__int64
ssize_t
;
#else
typedef
int
ssize_t
;
typedef
int
ssize_t
;
#endif
#define _SSIZE_T_DEFINED
#define _SSIZE_T_DEFINED
#endif
#endif
...
...
include/msvcrt/time.h
View file @
94529273
...
@@ -30,8 +30,16 @@ typedef unsigned short wchar_t;
...
@@ -30,8 +30,16 @@ typedef unsigned short wchar_t;
#endif
#endif
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
#else
typedef
unsigned
int
size_t
;
typedef
unsigned
int
size_t
;
#endif
#define _SIZE_T_DEFINED
#define _SIZE_T_DEFINED
#endif
#endif
...
...
include/msvcrt/wchar.h
View file @
94529273
...
@@ -35,10 +35,18 @@ typedef unsigned short wchar_t;
...
@@ -35,10 +35,18 @@ typedef unsigned short wchar_t;
#define WCHAR_MIN 0
#define WCHAR_MIN 0
#define WCHAR_MAX ((wchar_t)-1)
#define WCHAR_MAX ((wchar_t)-1)
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
typedef
int
mbstate_t
;
typedef
int
mbstate_t
;
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
#else
typedef
unsigned
int
size_t
;
typedef
unsigned
int
size_t
;
#endif
#define _SIZE_T_DEFINED
#define _SIZE_T_DEFINED
#endif
#endif
...
@@ -48,12 +56,6 @@ typedef unsigned short wctype_t;
...
@@ -48,12 +56,6 @@ typedef unsigned short wctype_t;
#define _WCTYPE_T_DEFINED
#define _WCTYPE_T_DEFINED
#endif
#endif
#ifndef _MSC_VER
# ifndef __int64
# define __int64 long long
# endif
#endif
#ifndef WEOF
#ifndef WEOF
#define WEOF (wint_t)(0xFFFF)
#define WEOF (wint_t)(0xFFFF)
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment