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
9f0ff1bf
Commit
9f0ff1bf
authored
May 29, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved WORDS_BIGENDIAN macros to basetsd.h.
Fixed FILETIME definition for big-endian.
parent
9c90cc89
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
22 deletions
+25
-22
basetsd.h
include/basetsd.h
+20
-3
winbase.h
include/winbase.h
+5
-0
winnt.h
include/winnt.h
+0
-19
No files found.
include/basetsd.h
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) */
include/winbase.h
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_ */
...
...
include/winnt.h
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__
...
...
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