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
a4c6ad6b
Commit
a4c6ad6b
authored
Apr 30, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Get rid of BITFIELDS_BIGENDIAN.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6cc475db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
26 deletions
+0
-26
basetsd.h
include/basetsd.h
+0
-10
winnt.h
include/winnt.h
+0
-16
No files found.
include/basetsd.h
View file @
a4c6ad6b
...
...
@@ -271,43 +271,33 @@ typedef ULONG_PTR KAFFINITY, *PKAFFINITY;
/* These are hardcoded to avoid dependencies on config.h in Winelib apps. */
#if defined(__i386__)
# undef WORDS_BIGENDIAN
# undef BITFIELDS_BIGENDIAN
# define ALLOW_UNALIGNED_ACCESS
#elif defined(__x86_64__)
# undef WORDS_BIGENDIAN
# undef BITFIELDS_BIGENDIAN
# define ALLOW_UNALIGNED_ACCESS
#elif defined(__powerpc__)
# define WORDS_BIGENDIAN
# define BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif defined(__ALPHA__)
# undef WORDS_BIGENDIAN
# undef BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif defined(__ARMEB__)
# define WORDS_BIGENDIAN
# define BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif defined(__ARMEL__) || defined(__arm__)
# undef WORDS_BIGENDIAN
# undef BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif defined(__AARCH64EB__)
# define WORDS_BIGENDIAN
# define BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif defined(__AARCH64EL__) || defined(__aarch64__)
# undef WORDS_BIGENDIAN
# undef BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif defined(__MIPSEB__)
# define WORDS_BIGENDIAN
# define BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif defined(__MIPSEL__)
# undef WORDS_BIGENDIAN
# undef BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif !defined(RC_INVOKED) && !defined(__WIDL__) && !defined(__midl)
# error Unknown CPU architecture!
...
...
include/winnt.h
View file @
a4c6ad6b
...
...
@@ -3817,33 +3817,17 @@ typedef struct _IMAGE_RESOURCE_DIRECTORY {
typedef
struct
_IMAGE_RESOURCE_DIRECTORY_ENTRY
{
union
{
struct
{
#ifdef BITFIELDS_BIGENDIAN
unsigned
NameIsString
:
1
;
unsigned
NameOffset
:
31
;
#else
unsigned
NameOffset
:
31
;
unsigned
NameIsString
:
1
;
#endif
}
DUMMYSTRUCTNAME
;
DWORD
Name
;
#ifdef WORDS_BIGENDIAN
WORD
__pad
;
WORD
Id
;
#else
WORD
Id
;
WORD
__pad
;
#endif
}
DUMMYUNIONNAME
;
union
{
DWORD
OffsetToData
;
struct
{
#ifdef BITFIELDS_BIGENDIAN
unsigned
DataIsDirectory
:
1
;
unsigned
OffsetToDirectory
:
31
;
#else
unsigned
OffsetToDirectory
:
31
;
unsigned
DataIsDirectory
:
1
;
#endif
}
DUMMYSTRUCTNAME2
;
}
DUMMYUNIONNAME2
;
}
IMAGE_RESOURCE_DIRECTORY_ENTRY
,
*
PIMAGE_RESOURCE_DIRECTORY_ENTRY
;
...
...
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