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
65d9723d
Commit
65d9723d
authored
Feb 06, 2007
by
Damjan Jovanovic
Committed by
Alexandre Julliard
Feb 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Align struct _stati64's st_size on an 8 byte boundary.
parent
0f376b48
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-1
stat.h
include/msvcrt/sys/stat.h
+11
-1
wchar.h
include/msvcrt/wchar.h
+11
-1
No files found.
dlls/msvcrt/msvcrt.h
View file @
65d9723d
...
...
@@ -366,7 +366,7 @@ struct MSVCRT__stati64 {
short
st_uid
;
short
st_gid
;
MSVCRT__dev_t
st_rdev
;
__int64
st_size
;
__int64
DECLSPEC_ALIGN
(
8
)
st_size
;
MSVCRT_time_t
st_atime
;
MSVCRT_time_t
st_mtime
;
MSVCRT_time_t
st_ctime
;
...
...
include/msvcrt/sys/stat.h
View file @
65d9723d
...
...
@@ -46,6 +46,16 @@ typedef int _off_t;
#define _OFF_T_DEFINED
#endif
#ifndef DECLSPEC_ALIGN
# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS)
# define DECLSPEC_ALIGN(x) __declspec(align(x))
# elif defined(__GNUC__)
# define DECLSPEC_ALIGN(x) __attribute__((aligned(x)))
# else
# define DECLSPEC_ALIGN(x)
# endif
#endif
#define _S_IEXEC 0x0040
#define _S_IWRITE 0x0080
#define _S_IREAD 0x0100
...
...
@@ -99,7 +109,7 @@ struct _stati64 {
short
st_uid
;
short
st_gid
;
_dev_t
st_rdev
;
__int64
st_size
;
__int64
DECLSPEC_ALIGN
(
8
)
st_size
;
time_t
st_atime
;
time_t
st_mtime
;
time_t
st_ctime
;
...
...
include/msvcrt/wchar.h
View file @
65d9723d
...
...
@@ -43,6 +43,16 @@ typedef unsigned short wchar_t;
#define _WIN64
#endif
#ifndef DECLSPEC_ALIGN
# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS)
# define DECLSPEC_ALIGN(x) __declspec(align(x))
# elif defined(__GNUC__)
# define DECLSPEC_ALIGN(x) __attribute__((aligned(x)))
# else
# define DECLSPEC_ALIGN(x)
# endif
#endif
typedef
int
mbstate_t
;
#ifndef _SIZE_T_DEFINED
...
...
@@ -181,7 +191,7 @@ struct _stati64 {
short
st_uid
;
short
st_gid
;
_dev_t
st_rdev
;
__int64
st_size
;
__int64
DECLSPEC_ALIGN
(
8
)
st_size
;
time_t
st_atime
;
time_t
st_mtime
;
time_t
st_ctime
;
...
...
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