Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
5f09c96f
Commit
5f09c96f
authored
22 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
Fixed endianness #ifdefs (spotted by Jason Edmeades).
parent
64284a87
No related branches found
Branches containing commit
Tags
wine-1.1.37
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/mapidefs.h
+5
-5
5 additions, 5 deletions
include/mapidefs.h
include/wtypes.h
+6
-6
6 additions, 6 deletions
include/wtypes.h
with
11 additions
and
11 deletions
include/mapidefs.h
+
5
−
5
View file @
5f09c96f
...
...
@@ -41,12 +41,12 @@ typedef unsigned long LHANDLE, *LPLHANDLE;
typedef
union
tagCY
{
struct
{
#ifdef BIG
_
ENDIAN
long
Hi
;
long
Lo
;
#ifdef
WORDS_
BIGENDIAN
LONG
Hi
;
ULONG
Lo
;
#else
unsigned
long
Lo
;
long
Hi
;
ULONG
Lo
;
LONG
Hi
;
#endif
}
u
;
LONGLONG
int64
;
...
...
This diff is collapsed.
Click to expand it.
include/wtypes.h
+
6
−
6
View file @
5f09c96f
...
...
@@ -166,13 +166,13 @@ typedef struct tagBLOB
typedef
union
tagCY
{
struct
{
#ifdef BIG
_
ENDIAN
#ifdef
WORDS_
BIGENDIAN
LONG
Hi
;
ULONG
Lo
;
#else
/* defined(BIG_ENDIAN) */
#else
ULONG
Lo
;
LONG
Hi
;
#endif
/* defined(BIG_ENDIAN) */
#endif
}
DUMMYSTRUCTNAME
;
LONGLONG
int64
;
}
CY
;
...
...
@@ -191,13 +191,13 @@ typedef struct tagDEC {
ULONG
Hi32
;
union
{
struct
{
#ifdef BIG
_
ENDIAN
#ifdef
WORDS_
BIGENDIAN
ULONG
Mid32
;
ULONG
Lo32
;
#else
/* defined(BIG_ENDIAN) */
#else
ULONG
Lo32
;
ULONG
Mid32
;
#endif
/* defined(BIG_ENDIAN) */
#endif
}
DUMMYSTRUCTNAME2
;
ULONGLONG
Lo64
;
}
DUMMYUNIONNAME2
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment