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
2af96fe5
Commit
2af96fe5
authored
Feb 20, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Pack the structures on a 8-byte boundary like in PSDK.
parent
14478b8b
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
60 additions
and
0 deletions
+60
-0
direct.h
include/msvcrt/direct.h
+4
-0
dos.h
include/msvcrt/dos.h
+4
-0
eh.h
include/msvcrt/eh.h
+4
-0
io.h
include/msvcrt/io.h
+4
-0
math.h
include/msvcrt/math.h
+4
-0
mbstring.h
include/msvcrt/mbstring.h
+4
-0
setjmp.h
include/msvcrt/setjmp.h
+4
-0
stdio.h
include/msvcrt/stdio.h
+4
-0
stdlib.h
include/msvcrt/stdlib.h
+4
-0
stat.h
include/msvcrt/sys/stat.h
+4
-0
timeb.h
include/msvcrt/sys/timeb.h
+4
-0
utime.h
include/msvcrt/sys/utime.h
+4
-0
time.h
include/msvcrt/time.h
+4
-0
wchar.h
include/msvcrt/wchar.h
+4
-0
wctype.h
include/msvcrt/wctype.h
+4
-0
No files found.
include/msvcrt/direct.h
View file @
2af96fe5
...
...
@@ -11,6 +11,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
@@ -77,4 +79,6 @@ static inline char* getcwd(char * buf, int size) { return _getcwd(buf, size); }
static
inline
int
mkdir
(
const
char
*
newdir
)
{
return
_mkdir
(
newdir
);
}
static
inline
int
rmdir
(
const
char
*
dir
)
{
return
_rmdir
(
dir
);
}
#include <poppack.h>
#endif
/* __WINE_DIRECT_H */
include/msvcrt/dos.h
View file @
2af96fe5
...
...
@@ -11,6 +11,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
/* The following are also defined in io.h */
#define _A_NORMAL 0x00000000
#define _A_RDONLY 0x00000001
...
...
@@ -44,4 +46,6 @@ unsigned int _getdiskfree(unsigned int, struct _diskfree_t *);
#define diskfree_t _diskfree_t
#include <poppack.h>
#endif
/* __WINE_DOS_H */
include/msvcrt/eh.h
View file @
2af96fe5
...
...
@@ -27,6 +27,8 @@
#error "eh.h is meant only for C++ applications"
#endif
#include <pshpack8.h>
struct
_EXCEPTION_POINTERS
;
typedef
void
(
*
terminate_handler
)(
void
);
...
...
@@ -42,4 +44,6 @@ _se_translator_function _set_se_translator(_se_translator_function func);
void
terminate
(
void
);
void
unexpected
(
void
);
#include <poppack.h>
#endif
/* __WINE_EH_H */
include/msvcrt/io.h
View file @
2af96fe5
...
...
@@ -11,6 +11,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#ifndef _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED
#ifndef __cplusplus
...
...
@@ -183,4 +185,6 @@ extern int sopen(const char*,int,int,...) __attribute__((alias("_sopen")));
#define sopen _sopen
#endif
/* __GNUC__ */
#include <poppack.h>
#endif
/* __WINE_IO_H */
include/msvcrt/math.h
View file @
2af96fe5
...
...
@@ -12,6 +12,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
@@ -94,4 +96,6 @@ static const union {
}
#endif
#include <poppack.h>
#endif
/* __WINE_MATH_H */
include/msvcrt/mbstring.h
View file @
2af96fe5
...
...
@@ -23,6 +23,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#if !defined(_MSC_VER) && !defined(__int64)
#define __int64 long long
#endif
...
...
@@ -134,4 +136,6 @@ int _ismbstrail(const unsigned char*,const unsigned char*);
}
#endif
#include <poppack.h>
#endif
/* __WINE_MBSTRING_H */
include/msvcrt/setjmp.h
View file @
2af96fe5
...
...
@@ -23,6 +23,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#ifdef __i386__
typedef
struct
__JUMP_BUFFER
...
...
@@ -61,4 +63,6 @@ int longjmp(jmp_buf,int);
#define setjmp _setjmp
#include <poppack.h>
#endif
/* __WINE_SETJMP_H */
include/msvcrt/stdio.h
View file @
2af96fe5
...
...
@@ -11,6 +11,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#ifndef RC_INVOKED
#include <stdarg.h>
#endif
...
...
@@ -250,4 +252,6 @@ static inline int getw(FILE* file) { return _getw(file); }
static
inline
int
putw
(
int
val
,
FILE
*
file
)
{
return
_putw
(
val
,
file
);
}
static
inline
FILE
*
wpopen
(
const
wchar_t
*
command
,
const
wchar_t
*
mode
)
{
return
_wpopen
(
command
,
mode
);
}
#include <poppack.h>
#endif
/* __WINE_STDIO_H */
include/msvcrt/stdlib.h
View file @
2af96fe5
...
...
@@ -11,6 +11,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
...
...
@@ -246,4 +248,6 @@ static inline ldiv_t __wine_msvcrt_ldiv(long num, long denom)
#define ldiv(num,denom) __wine_msvcrt_ldiv(num,denom)
#endif
#include <poppack.h>
#endif
/* __WINE_STDLIB_H */
include/msvcrt/sys/stat.h
View file @
2af96fe5
...
...
@@ -11,6 +11,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#include <sys/types.h>
#ifndef _WCHAR_T_DEFINED
...
...
@@ -174,4 +176,6 @@ static inline int umask(int fd) { return _umask(fd); }
#define _UMASK_DEFINED
#endif
#include <poppack.h>
#endif
/* __WINE_SYS_STAT_H */
include/msvcrt/sys/timeb.h
View file @
2af96fe5
...
...
@@ -23,6 +23,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#ifndef _TIME_T_DEFINED
typedef
long
time_t
;
#define _TIME_T_DEFINED
...
...
@@ -55,4 +57,6 @@ void _ftime(struct _timeb*);
static
inline
void
ftime
(
struct
_timeb
*
ptr
)
{
return
_ftime
(
ptr
);
}
#include <poppack.h>
#endif
/* __WINE_SYS_TIMEB_H */
include/msvcrt/sys/utime.h
View file @
2af96fe5
...
...
@@ -23,6 +23,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#ifndef _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED
#ifndef __cplusplus
...
...
@@ -62,4 +64,6 @@ int _wutime(const wchar_t*,struct _utimbuf*);
static
inline
int
utime
(
const
char
*
path
,
struct
_utimbuf
*
buf
)
{
return
_utime
(
path
,
buf
);
}
#include <poppack.h>
#endif
/* __WINE_SYS_UTIME_H */
include/msvcrt/time.h
View file @
2af96fe5
...
...
@@ -23,6 +23,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#ifndef _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED
#ifndef __cplusplus
...
...
@@ -127,4 +129,6 @@ wchar_t*_wstrtime(wchar_t*);
}
#endif
#include <poppack.h>
#endif
/* __WINE_TIME_H */
include/msvcrt/wchar.h
View file @
2af96fe5
...
...
@@ -11,6 +11,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#include <stdarg.h>
#ifdef __cplusplus
...
...
@@ -428,4 +430,6 @@ int wctob(wint_t);
}
#endif
#include <poppack.h>
#endif
/* __WINE_WCHAR_H */
include/msvcrt/wctype.h
View file @
2af96fe5
...
...
@@ -23,6 +23,8 @@
#define __WINE_USE_MSVCRT
#endif
#include <pshpack8.h>
#ifndef _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED
#ifndef __cplusplus
...
...
@@ -84,4 +86,6 @@ wchar_t towupper(wchar_t);
}
#endif
#include <poppack.h>
#endif
/* __WINE_WCTYPE_H */
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