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
ee847959
Commit
ee847959
authored
Feb 18, 2005
by
James Hawkins
Committed by
Alexandre Julliard
Feb 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Conditionally add DECLSPEC_ALIGN(8) to wine's 64-bit types and leave
the modifier off when compiling with msvc.
parent
87844214
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
+23
-5
basetsd.h
include/basetsd.h
+11
-2
winnt.h
include/winnt.h
+12
-3
No files found.
include/basetsd.h
View file @
ee847959
...
...
@@ -73,17 +73,26 @@ extern "C" {
typedef
signed
char
INT8
,
*
PINT8
;
typedef
signed
short
INT16
,
*
PINT16
;
typedef
signed
int
INT32
,
*
PINT32
;
typedef
signed
__int64
DECLSPEC_ALIGN
(
8
)
INT64
,
*
PINT64
;
typedef
unsigned
char
UINT8
,
*
PUINT8
;
typedef
unsigned
short
UINT16
,
*
PUINT16
;
typedef
unsigned
int
UINT32
,
*
PUINT32
;
typedef
unsigned
__int64
DECLSPEC_ALIGN
(
8
)
UINT64
,
*
PUINT64
;
typedef
signed
int
LONG32
,
*
PLONG32
;
typedef
unsigned
int
ULONG32
,
*
PULONG32
;
typedef
unsigned
int
DWORD32
,
*
PDWORD32
;
#ifdef _MSC_VER
typedef
signed
__int64
INT64
,
*
PINT64
;
typedef
unsigned
__int64
UINT64
,
*
PUINT64
;
typedef
signed
__int64
LONG64
,
*
PLONG64
;
typedef
unsigned
__int64
ULONG64
,
*
PULONG64
;
typedef
unsigned
__int64
DWORD64
,
*
PDWORD64
;
#else
typedef
signed
__int64
DECLSPEC_ALIGN
(
8
)
INT64
,
*
PINT64
;
typedef
unsigned
__int64
DECLSPEC_ALIGN
(
8
)
UINT64
,
*
PUINT64
;
typedef
signed
__int64
DECLSPEC_ALIGN
(
8
)
LONG64
,
*
PLONG64
;
typedef
unsigned
__int64
DECLSPEC_ALIGN
(
8
)
ULONG64
,
*
PULONG64
;
typedef
unsigned
__int64
DECLSPEC_ALIGN
(
8
)
DWORD64
,
*
PDWORD64
;
#endif
/* Win32 or Win64 dependent typedef/defines. */
...
...
include/winnt.h
View file @
ee847959
...
...
@@ -310,14 +310,23 @@ typedef unsigned short WCHAR, *PWCHAR;
/* 'Extended/Wide' numerical types */
#ifndef _ULONGLONG_
#define _ULONGLONG_
# define _ULONGLONG_
# ifdef _MSC_VER
typedef
signed
__int64
LONGLONG
,
*
PLONGLONG
;
typedef
unsigned
__int64
ULONGLONG
,
*
PULONGLONG
;
# else
typedef
signed
__int64
DECLSPEC_ALIGN
(
8
)
LONGLONG
,
*
PLONGLONG
;
typedef
unsigned
__int64
DECLSPEC_ALIGN
(
8
)
ULONGLONG
,
*
PULONGLONG
;
# endif
#endif
#ifndef _DWORDLONG_
#define _DWORDLONG_
typedef
ULONGLONG
DECLSPEC_ALIGN
(
8
)
DWORDLONG
,
*
PDWORDLONG
;
# define _DWORDLONG_
# ifdef _MSC_VER
typedef
ULONGLONG
DWORDLONG
,
*
PDWORDLONG
;
# else
typedef
ULONGLONG
DECLSPEC_ALIGN
(
8
)
DWORDLONG
,
*
PDWORDLONG
;
# endif
#endif
/* ANSI string types */
...
...
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