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
3bb75273
Commit
3bb75273
authored
Oct 10, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Stop pretending to support big-endian.
parent
6b4399e3
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
2 additions
and
114 deletions
+2
-114
basetsd.h
include/basetsd.h
+0
-32
mapidefs.h
include/mapidefs.h
+0
-10
winbase.h
include/winbase.h
+0
-15
windef.h
include/windef.h
+0
-10
winnt.h
include/winnt.h
+2
-26
winternl.h
include/winternl.h
+0
-5
winuser.h
include/winuser.h
+0
-6
wtypes.idl
include/wtypes.idl
+0
-10
No files found.
include/basetsd.h
View file @
3bb75273
...
...
@@ -295,38 +295,6 @@ typedef ULONG_PTR KAFFINITY, *PKAFFINITY;
#define MINLONGLONG ((LONGLONG)~MAXLONGLONG)
/* Some Wine-specific definitions */
/* Architecture dependent settings. */
/* These are hardcoded to avoid dependencies on config.h in Winelib apps. */
#if defined(__i386__)
# undef WORDS_BIGENDIAN
#elif defined(__x86_64__)
# undef WORDS_BIGENDIAN
#elif defined(__powerpc64__) && defined(__BIG_ENDIAN__)
# define WORDS_BIGENDIAN
#elif defined(__powerpc64__)
# undef WORDS_BIGENDIAN
#elif defined(__powerpc__)
# define WORDS_BIGENDIAN
#elif defined(__ALPHA__)
# undef WORDS_BIGENDIAN
#elif defined(__ARMEB__)
# define WORDS_BIGENDIAN
#elif defined(__ARMEL__) || defined(__arm__)
# undef WORDS_BIGENDIAN
#elif defined(__AARCH64EB__)
# define WORDS_BIGENDIAN
#elif defined(__AARCH64EL__) || defined(__aarch64__)
# undef WORDS_BIGENDIAN
#elif defined(__MIPSEB__)
# define WORDS_BIGENDIAN
#elif defined(__MIPSEL__)
# undef WORDS_BIGENDIAN
#elif !defined(RC_INVOKED) && !defined(__WIDL__) && !defined(__midl)
# error Unknown CPU architecture!
#endif
#ifdef __cplusplus
}
/* extern "C" */
#endif
/* defined(__cplusplus) */
...
...
include/mapidefs.h
View file @
3bb75273
...
...
@@ -37,13 +37,8 @@ typedef union tagCY
{
struct
{
#ifdef WORDS_BIGENDIAN
LONG
Hi
;
ULONG
Lo
;
#else
ULONG
Lo
;
LONG
Hi
;
#endif
}
DUMMYSTRUCTNAME
;
LONGLONG
int64
;
}
CY
;
...
...
@@ -55,13 +50,8 @@ typedef CY CURRENCY;
#define _FILETIME_
typedef
struct
_FILETIME
{
#ifdef WORDS_BIGENDIAN
DWORD
dwHighDateTime
;
DWORD
dwLowDateTime
;
#else
DWORD
dwLowDateTime
;
DWORD
dwHighDateTime
;
#endif
}
FILETIME
,
*
PFILETIME
,
*
LPFILETIME
;
#endif
...
...
include/winbase.h
View file @
3bb75273
...
...
@@ -252,13 +252,8 @@ typedef struct _SECURITY_ATTRIBUTES
/* 64 bit number of 100 nanoseconds intervals since January 1, 1601 */
typedef
struct
_FILETIME
{
#ifdef WORDS_BIGENDIAN
DWORD
dwHighDateTime
;
DWORD
dwLowDateTime
;
#else
DWORD
dwLowDateTime
;
DWORD
dwHighDateTime
;
#endif
}
FILETIME
,
*
PFILETIME
,
*
LPFILETIME
;
#endif
/* _FILETIME_ */
...
...
@@ -556,22 +551,12 @@ typedef struct _SYSTEMTIME{
/* The 'overlapped' data structure used by async I/O functions.
*/
typedef
struct
_OVERLAPPED
{
#ifdef WORDS_BIGENDIAN
ULONG_PTR
InternalHigh
;
ULONG_PTR
Internal
;
#else
ULONG_PTR
Internal
;
ULONG_PTR
InternalHigh
;
#endif
union
{
struct
{
#ifdef WORDS_BIGENDIAN
DWORD
OffsetHigh
;
DWORD
Offset
;
#else
DWORD
Offset
;
DWORD
OffsetHigh
;
#endif
}
DUMMYSTRUCTNAME
;
PVOID
Pointer
;
}
DUMMYUNIONNAME
;
...
...
include/windef.h
View file @
3bb75273
...
...
@@ -390,23 +390,13 @@ typedef struct _POINTL
typedef
struct
tagPOINTS
{
#ifdef WORDS_BIGENDIAN
SHORT
y
;
SHORT
x
;
#else
SHORT
x
;
SHORT
y
;
#endif
}
POINTS
,
*
PPOINTS
,
*
LPPOINTS
;
typedef
struct
_FILETIME
{
#ifdef WORDS_BIGENDIAN
DWORD
dwHighDateTime
;
DWORD
dwLowDateTime
;
#else
DWORD
dwLowDateTime
;
DWORD
dwHighDateTime
;
#endif
}
FILETIME
,
*
PFILETIME
,
*
LPFILETIME
;
#define _FILETIME_
...
...
include/winnt.h
View file @
3bb75273
...
...
@@ -4788,49 +4788,25 @@ typedef struct _TOKEN_GROUPS {
typedef
union
_LARGE_INTEGER
{
struct
{
#ifdef WORDS_BIGENDIAN
LONG
HighPart
;
DWORD
LowPart
;
#else
DWORD
LowPart
;
LONG
HighPart
;
#endif
}
u
;
#ifndef NONAMELESSSTRUCT
struct
{
#ifdef WORDS_BIGENDIAN
LONG
HighPart
;
DWORD
LowPart
;
#else
DWORD
LowPart
;
LONG
HighPart
;
#endif
};
#endif
}
DUMMYSTRUCTNAME
;
LONGLONG
QuadPart
;
}
LARGE_INTEGER
,
*
PLARGE_INTEGER
;
typedef
union
_ULARGE_INTEGER
{
struct
{
#ifdef WORDS_BIGENDIAN
DWORD
HighPart
;
DWORD
LowPart
;
#else
DWORD
LowPart
;
DWORD
HighPart
;
#endif
}
u
;
#ifndef NONAMELESSSTRUCT
struct
{
#ifdef WORDS_BIGENDIAN
DWORD
HighPart
;
DWORD
LowPart
;
#else
DWORD
LowPart
;
DWORD
HighPart
;
#endif
};
#endif
}
DUMMYSTRUCTNAME
;
ULONGLONG
QuadPart
;
}
ULARGE_INTEGER
,
*
PULARGE_INTEGER
;
...
...
include/winternl.h
View file @
3bb75273
...
...
@@ -76,13 +76,8 @@ typedef const UNICODE_STRING *PCUNICODE_STRING;
/* 64 bit number of 100 nanoseconds intervals since January 1, 1601 */
typedef
struct
_FILETIME
{
#ifdef WORDS_BIGENDIAN
DWORD
dwHighDateTime
;
DWORD
dwLowDateTime
;
#else
DWORD
dwLowDateTime
;
DWORD
dwHighDateTime
;
#endif
}
FILETIME
,
*
PFILETIME
,
*
LPFILETIME
;
#endif
/* _FILETIME_ */
...
...
include/winuser.h
View file @
3bb75273
...
...
@@ -1625,15 +1625,9 @@ typedef struct tagCURSORINFO
/* this is the 6 byte accel struct used in Win32 when presented to the user */
typedef
struct
tagACCEL
{
#ifdef WORDS_BIGENDIAN
WORD
fVirt
;
WORD
key
;
DWORD
cmd
;
#else
BYTE
fVirt
;
WORD
key
;
WORD
cmd
;
#endif
}
ACCEL
,
*
LPACCEL
;
...
...
include/wtypes.idl
View file @
3bb75273
...
...
@@ -646,13 +646,8 @@ cpp_quote("#ifndef _tagCY_DEFINED")
cpp_quote("#define _tagCY_DEFINED")
cpp_quote("typedef union tagCY {")
cpp_quote(" struct {")
cpp_quote("#ifdef WORDS_BIGENDIAN")
cpp_quote(" LONG Hi;")
cpp_quote(" ULONG Lo;")
cpp_quote("#else")
cpp_quote(" ULONG Lo;")
cpp_quote(" LONG Hi;")
cpp_quote("#endif")
cpp_quote(" } DUMMYSTRUCTNAME;")
cpp_quote(" LONGLONG int64;")
cpp_quote("} CY;")
...
...
@@ -682,13 +677,8 @@ cpp_quote(" } DUMMYUNIONNAME;")
cpp_quote(" ULONG Hi32;")
cpp_quote(" union {")
cpp_quote(" struct {")
cpp_quote("#ifdef WORDS_BIGENDIAN")
cpp_quote(" ULONG Mid32;")
cpp_quote(" ULONG Lo32;")
cpp_quote("#else")
cpp_quote(" ULONG Lo32;")
cpp_quote(" ULONG Mid32;")
cpp_quote("#endif")
cpp_quote(" } DUMMYSTRUCTNAME1;")
cpp_quote(" ULONGLONG Lo64;")
cpp_quote(" } DUMMYUNIONNAME1;")
...
...
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