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
Releases
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
Johnny Cai
wine
Commits
9f0ff1bf
Commit
9f0ff1bf
authored
22 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
Moved WORDS_BIGENDIAN macros to basetsd.h.
Fixed FILETIME definition for big-endian.
parent
9c90cc89
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/basetsd.h
+20
-3
20 additions, 3 deletions
include/basetsd.h
include/winbase.h
+5
-0
5 additions, 0 deletions
include/winbase.h
include/winnt.h
+0
-19
0 additions, 19 deletions
include/winnt.h
with
25 additions
and
22 deletions
include/basetsd.h
+
20
−
3
View file @
9f0ff1bf
...
...
@@ -154,11 +154,28 @@ typedef __uint32 DWORD_PTR, *PDWORD_PTR;
typedef
INT_PTR
SSIZE_T
,
*
PSSIZE_T
;
typedef
UINT_PTR
SIZE_T
,
*
PSIZE_T
;
/* 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
# undef BITFIELDS_BIGENDIAN
# define ALLOW_UNALIGNED_ACCESS
#elif defined(__sparc__)
# define WORDS_BIGENDIAN
# define BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif defined(__PPC__)
# define WORDS_BIGENDIAN
# define BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif !defined(RC_INVOKED)
# error Unknown CPU architecture!
#endif
#ifdef __cplusplus
}
/* extern "C" */
#endif
/* defined(__cplusplus) */
#endif
/* !defined(__WINE_BASETSD_H) */
This diff is collapsed.
Click to expand it.
include/winbase.h
+
5
−
0
View file @
9f0ff1bf
...
...
@@ -202,8 +202,13 @@ typedef struct _SECURITY_ATTRIBUTES
/* 64 bit number of 100 nanoseconds intervals since January 1, 1601 */
typedef
struct
{
#ifdef WORDS_BIGENDIAN
DWORD
dwHighDateTime
;
DWORD
dwLowDateTime
;
#else
DWORD
dwLowDateTime
;
DWORD
dwHighDateTime
;
#endif
}
FILETIME
,
*
PFILETIME
,
*
LPFILETIME
;
#endif
/* _FILETIME_ */
...
...
This diff is collapsed.
Click to expand it.
include/winnt.h
+
0
−
19
View file @
9f0ff1bf
...
...
@@ -41,25 +41,6 @@
/**** 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
# undef BITFIELDS_BIGENDIAN
# define ALLOW_UNALIGNED_ACCESS
#elif defined(__sparc__)
# define WORDS_BIGENDIAN
# define BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif defined(__PPC__)
# define WORDS_BIGENDIAN
# define BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
#elif !defined(RC_INVOKED)
# error Unknown CPU architecture!
#endif
/* Calling conventions definitions */
#ifdef __i386__
...
...
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