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
f8b8f216
Commit
f8b8f216
authored
Sep 29, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Make DWORD/LONG/ULONG an int to use the same type in Win32 and Win64.
parent
85ce5117
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
windef.h
include/windef.h
+5
-5
winnt.h
include/winnt.h
+3
-3
No files found.
include/windef.h
View file @
f8b8f216
...
...
@@ -196,14 +196,14 @@ typedef int INT, *PINT, *LPINT;
typedef
unsigned
int
UINT
,
*
PUINT
;
typedef
float
FLOAT
,
*
PFLOAT
;
typedef
char
*
PSZ
;
#if defined(_WIN64) && !defined(_MSC_VER)
typedef
int
*
LPLONG
;
typedef
unsigned
int
DWORD
,
*
PDWORD
,
*
LPDWORD
;
typedef
unsigned
int
ULONG
,
*
PULONG
;
#else
#if defined(_MSC_VER) || (defined(WINE_NO_LONG_AS_INT) && !defined(_WIN64))
typedef
long
*
LPLONG
;
typedef
unsigned
long
DWORD
,
*
PDWORD
,
*
LPDWORD
;
typedef
unsigned
long
ULONG
,
*
PULONG
;
#else
typedef
int
*
LPLONG
;
typedef
unsigned
int
DWORD
,
*
PDWORD
,
*
LPDWORD
;
typedef
unsigned
int
ULONG
,
*
PULONG
;
#endif
/* Macros to map Winelib names to the correct implementation name */
...
...
include/winnt.h
View file @
f8b8f216
...
...
@@ -318,10 +318,10 @@ typedef VOID *PVOID64;
typedef
BYTE
BOOLEAN
,
*
PBOOLEAN
;
typedef
char
CHAR
,
*
PCHAR
;
typedef
short
SHORT
,
*
PSHORT
;
#if defined(_WIN64) && !defined(_MSC_VER)
typedef
int
LONG
,
*
PLONG
;
#else
#if defined(_MSC_VER) || (defined(WINE_NO_LONG_AS_INT) && !defined(_WIN64))
typedef
long
LONG
,
*
PLONG
;
#else
typedef
int
LONG
,
*
PLONG
;
#endif
/* Some systems might have wchar_t, but we really need 16 bit characters */
...
...
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