mirror of
https://github.com/reactos/wine.git
synced 2025-02-01 09:42:14 +00:00
Made crtdll a normal user of msvcrt by setting the right include
path.
This commit is contained in:
parent
3f5ff2fba2
commit
2aed5d77ff
@ -5,6 +5,7 @@ VPATH = @srcdir@
|
|||||||
MODULE = crtdll.dll
|
MODULE = crtdll.dll
|
||||||
IMPORTS = msvcrt kernel32
|
IMPORTS = msvcrt kernel32
|
||||||
EXTRALIBS = $(LIBUNICODE)
|
EXTRALIBS = $(LIBUNICODE)
|
||||||
|
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
|
||||||
|
|
||||||
LDDLLFLAGS = @LDDLLFLAGS@
|
LDDLLFLAGS = @LDDLLFLAGS@
|
||||||
SYMBOLFILE = $(MODULE).tmp.o
|
SYMBOLFILE = $(MODULE).tmp.o
|
||||||
|
@ -21,8 +21,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#define USE_MSVCRT_PREFIX
|
#include "sys/stat.h"
|
||||||
#include "msvcrt/sys/stat.h"
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(crtdll);
|
WINE_DEFAULT_DEBUG_CHANNEL(crtdll);
|
||||||
@ -53,10 +52,10 @@ struct crtdll_stat
|
|||||||
short st_uid;
|
short st_uid;
|
||||||
short st_gid;
|
short st_gid;
|
||||||
crtdll_dev_t st_rdev;
|
crtdll_dev_t st_rdev;
|
||||||
MSVCRT(_off_t) st_size;
|
_off_t st_size;
|
||||||
MSVCRT(time_t) st_atime;
|
time_t st_atime;
|
||||||
MSVCRT(time_t) st_mtime;
|
time_t st_mtime;
|
||||||
MSVCRT(time_t) st_ctime;
|
time_t st_ctime;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* convert struct _stat from crtdll format to msvcrt format */
|
/* convert struct _stat from crtdll format to msvcrt format */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user