Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
70015ab5
Commit
70015ab5
authored
Jun 06, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/msvcrt: Make sure that __int64 is properly defined on a 64-bit platform.
parent
9aa42351
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
97 additions
and
45 deletions
+97
-45
direct.h
include/msvcrt/direct.h
+8
-4
io.h
include/msvcrt/io.h
+8
-2
malloc.h
include/msvcrt/malloc.h
+8
-4
mbstring.h
include/msvcrt/mbstring.h
+8
-4
search.h
include/msvcrt/search.h
+8
-4
stddef.h
include/msvcrt/stddef.h
+8
-0
stdio.h
include/msvcrt/stdio.h
+8
-4
stdlib.h
include/msvcrt/stdlib.h
+9
-1
string.h
include/msvcrt/string.h
+8
-4
stat.h
include/msvcrt/sys/stat.h
+0
-6
types.h
include/msvcrt/sys/types.h
+8
-4
time.h
include/msvcrt/time.h
+8
-4
wchar.h
include/msvcrt/wchar.h
+8
-4
No files found.
include/msvcrt/direct.h
View file @
70015ab5
...
@@ -24,14 +24,18 @@ typedef unsigned short wchar_t;
...
@@ -24,14 +24,18 @@ typedef unsigned short wchar_t;
#endif
#endif
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#if defined(__x86_64__) && !defined(_WIN64)
#if defined(__x86_64__) && !defined(_WIN64)
#define _WIN64
#define _WIN64
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# define __int64 long
# else
# define __int64 long long
# endif
#endif
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
typedef
unsigned
__int64
size_t
;
...
...
include/msvcrt/io.h
View file @
70015ab5
...
@@ -20,8 +20,14 @@ typedef unsigned short wchar_t;
...
@@ -20,8 +20,14 @@ typedef unsigned short wchar_t;
#endif
#endif
#endif
#endif
#ifndef _MSC_VER
#if defined(__x86_64__) && !defined(_WIN64)
# ifndef __int64
#define _WIN64
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# define __int64 long
# else
# define __int64 long long
# define __int64 long long
# endif
# endif
#endif
#endif
...
...
include/msvcrt/malloc.h
View file @
70015ab5
...
@@ -34,14 +34,18 @@
...
@@ -34,14 +34,18 @@
#define _FREEENTRY 0
#define _FREEENTRY 0
#define _USEDENTRY 1
#define _USEDENTRY 1
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#if defined(__x86_64__) && !defined(_WIN64)
#if defined(__x86_64__) && !defined(_WIN64)
#define _WIN64
#define _WIN64
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# define __int64 long
# else
# define __int64 long long
# endif
#endif
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
typedef
unsigned
__int64
size_t
;
...
...
include/msvcrt/mbstring.h
View file @
70015ab5
...
@@ -25,14 +25,18 @@
...
@@ -25,14 +25,18 @@
#include <pshpack8.h>
#include <pshpack8.h>
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#if defined(__x86_64__) && !defined(_WIN64)
#if defined(__x86_64__) && !defined(_WIN64)
#define _WIN64
#define _WIN64
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# define __int64 long
# else
# define __int64 long long
# endif
#endif
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
typedef
unsigned
__int64
size_t
;
...
...
include/msvcrt/search.h
View file @
70015ab5
...
@@ -23,14 +23,18 @@
...
@@ -23,14 +23,18 @@
#define __WINE_USE_MSVCRT
#define __WINE_USE_MSVCRT
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#if defined(__x86_64__) && !defined(_WIN64)
#if defined(__x86_64__) && !defined(_WIN64)
#define _WIN64
#define _WIN64
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# define __int64 long
# else
# define __int64 long long
# endif
#endif
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
typedef
unsigned
__int64
size_t
;
...
...
include/msvcrt/stddef.h
View file @
70015ab5
...
@@ -27,6 +27,14 @@
...
@@ -27,6 +27,14 @@
#define _WIN64
#define _WIN64
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# define __int64 long
# else
# define __int64 long long
# endif
#endif
#ifndef _WCHAR_T_DEFINED
#ifndef _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED
#ifndef __cplusplus
#ifndef __cplusplus
...
...
include/msvcrt/stdio.h
View file @
70015ab5
...
@@ -17,14 +17,18 @@
...
@@ -17,14 +17,18 @@
#include <stdarg.h>
#include <stdarg.h>
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#if defined(__x86_64__) && !defined(_WIN64)
#if defined(__x86_64__) && !defined(_WIN64)
#define _WIN64
#define _WIN64
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# define __int64 long
# else
# define __int64 long long
# endif
#endif
/* file._flag flags */
/* file._flag flags */
#define _IOREAD 0x0001
#define _IOREAD 0x0001
#define _IOWRT 0x0002
#define _IOWRT 0x0002
...
...
include/msvcrt/stdlib.h
View file @
70015ab5
...
@@ -28,8 +28,16 @@ typedef unsigned short wchar_t;
...
@@ -28,8 +28,16 @@ typedef unsigned short wchar_t;
#endif
#endif
#endif
#endif
#if defined(__x86_64__) && !defined(_WIN64)
#define _WIN64
#endif
#if !defined(_MSC_VER) && !defined(__int64)
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
# ifdef _WIN64
# define __int64 long
# else
# define __int64 long long
# endif
#endif
#endif
#define EXIT_SUCCESS 0
#define EXIT_SUCCESS 0
...
...
include/msvcrt/string.h
View file @
70015ab5
...
@@ -18,14 +18,18 @@ typedef unsigned short wchar_t;
...
@@ -18,14 +18,18 @@ typedef unsigned short wchar_t;
#endif
#endif
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#if defined(__x86_64__) && !defined(_WIN64)
#if defined(__x86_64__) && !defined(_WIN64)
#define _WIN64
#define _WIN64
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# define __int64 long
# else
# define __int64 long long
# endif
#endif
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
typedef
unsigned
__int64
size_t
;
...
...
include/msvcrt/sys/stat.h
View file @
70015ab5
...
@@ -22,12 +22,6 @@ typedef unsigned short wchar_t;
...
@@ -22,12 +22,6 @@ typedef unsigned short wchar_t;
#endif
#endif
#endif
#endif
#ifndef _MSC_VER
# ifndef __int64
# define __int64 long long
# endif
#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
...
...
include/msvcrt/sys/types.h
View file @
70015ab5
...
@@ -23,14 +23,18 @@
...
@@ -23,14 +23,18 @@
#define __WINE_USE_MSVCRT
#define __WINE_USE_MSVCRT
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#if defined(__x86_64__) && !defined(_WIN64)
#if defined(__x86_64__) && !defined(_WIN64)
#define _WIN64
#define _WIN64
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# define __int64 long
# else
# define __int64 long long
# endif
#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
...
...
include/msvcrt/time.h
View file @
70015ab5
...
@@ -32,14 +32,18 @@ typedef unsigned short wchar_t;
...
@@ -32,14 +32,18 @@ typedef unsigned short wchar_t;
#endif
#endif
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
#if defined(__x86_64__) && !defined(_WIN64)
#if defined(__x86_64__) && !defined(_WIN64)
#define _WIN64
#define _WIN64
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# define __int64 long
# else
# define __int64 long long
# endif
#endif
#ifndef _SIZE_T_DEFINED
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
#ifdef _WIN64
typedef
unsigned
__int64
size_t
;
typedef
unsigned
__int64
size_t
;
...
...
include/msvcrt/wchar.h
View file @
70015ab5
...
@@ -37,14 +37,18 @@ typedef unsigned short wchar_t;
...
@@ -37,14 +37,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
#if defined(__x86_64__) && !defined(_WIN64)
#if defined(__x86_64__) && !defined(_WIN64)
#define _WIN64
#define _WIN64
#endif
#endif
#if !defined(_MSC_VER) && !defined(__int64)
# ifdef _WIN64
# define __int64 long
# else
# define __int64 long long
# endif
#endif
#ifndef DECLSPEC_ALIGN
#ifndef DECLSPEC_ALIGN
# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS)
# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS)
# define DECLSPEC_ALIGN(x) __declspec(align(x))
# define DECLSPEC_ALIGN(x) __declspec(align(x))
...
...
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