include: Add corecrt_wdirect.h header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ce62c3c8c9
commit
26ffc40bfb
|
@ -427,6 +427,7 @@ SOURCES = \
|
||||||
msvcrt/corecrt_startup.h \
|
msvcrt/corecrt_startup.h \
|
||||||
msvcrt/corecrt_stdio_config.h \
|
msvcrt/corecrt_stdio_config.h \
|
||||||
msvcrt/corecrt_wctype.h \
|
msvcrt/corecrt_wctype.h \
|
||||||
|
msvcrt/corecrt_wdirect.h \
|
||||||
msvcrt/corecrt_wio.h \
|
msvcrt/corecrt_wio.h \
|
||||||
msvcrt/corecrt_wprocess.h \
|
msvcrt/corecrt_wprocess.h \
|
||||||
msvcrt/corecrt_wstdio.h \
|
msvcrt/corecrt_wstdio.h \
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
/**
|
||||||
|
* This file has no copyright assigned and is placed in the Public Domain.
|
||||||
|
* This file is part of the Wine project.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _WDIRECT_DEFINED
|
||||||
|
#define _WDIRECT_DEFINED
|
||||||
|
|
||||||
|
#include <corecrt.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int __cdecl _wchdir(const wchar_t*);
|
||||||
|
wchar_t* __cdecl _wgetcwd(wchar_t*,int);
|
||||||
|
wchar_t* __cdecl _wgetdcwd(int,wchar_t*,int);
|
||||||
|
int __cdecl _wmkdir(const wchar_t*);
|
||||||
|
int __cdecl _wrmdir(const wchar_t*);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* _WDIRECT_DEFINED */
|
|
@ -8,7 +8,7 @@
|
||||||
#ifndef __WINE_DIRECT_H
|
#ifndef __WINE_DIRECT_H
|
||||||
#define __WINE_DIRECT_H
|
#define __WINE_DIRECT_H
|
||||||
|
|
||||||
#include <corecrt.h>
|
#include <corecrt_wdirect.h>
|
||||||
|
|
||||||
#include <pshpack8.h>
|
#include <pshpack8.h>
|
||||||
|
|
||||||
|
@ -35,15 +35,6 @@ __msvcrt_ulong __cdecl _getdrives(void);
|
||||||
int __cdecl _mkdir(const char*);
|
int __cdecl _mkdir(const char*);
|
||||||
int __cdecl _rmdir(const char*);
|
int __cdecl _rmdir(const char*);
|
||||||
|
|
||||||
#ifndef _WDIRECT_DEFINED
|
|
||||||
#define _WDIRECT_DEFINED
|
|
||||||
int __cdecl _wchdir(const wchar_t*);
|
|
||||||
wchar_t* __cdecl _wgetcwd(wchar_t*,int);
|
|
||||||
wchar_t* __cdecl _wgetdcwd(int,wchar_t*,int);
|
|
||||||
int __cdecl _wmkdir(const wchar_t*);
|
|
||||||
int __cdecl _wrmdir(const wchar_t*);
|
|
||||||
#endif /* _WDIRECT_DEFINED */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#define __WINE_WCHAR_H
|
#define __WINE_WCHAR_H
|
||||||
|
|
||||||
#include <corecrt_wctype.h>
|
#include <corecrt_wctype.h>
|
||||||
|
#include <corecrt_wdirect.h>
|
||||||
#include <corecrt_wio.h>
|
#include <corecrt_wio.h>
|
||||||
#include <corecrt_wprocess.h>
|
#include <corecrt_wprocess.h>
|
||||||
#include <corecrt_wstdio.h>
|
#include <corecrt_wstdio.h>
|
||||||
|
@ -28,15 +29,6 @@ extern "C" {
|
||||||
|
|
||||||
typedef int mbstate_t;
|
typedef int mbstate_t;
|
||||||
|
|
||||||
#ifndef _WDIRECT_DEFINED
|
|
||||||
#define _WDIRECT_DEFINED
|
|
||||||
int __cdecl _wchdir(const wchar_t*);
|
|
||||||
wchar_t* __cdecl _wgetcwd(wchar_t*,int);
|
|
||||||
wchar_t* __cdecl _wgetdcwd(int,wchar_t*,int);
|
|
||||||
int __cdecl _wmkdir(const wchar_t*);
|
|
||||||
int __cdecl _wrmdir(const wchar_t*);
|
|
||||||
#endif /* _WDIRECT_DEFINED */
|
|
||||||
|
|
||||||
#ifndef _WLOCALE_DEFINED
|
#ifndef _WLOCALE_DEFINED
|
||||||
#define _WLOCALE_DEFINED
|
#define _WLOCALE_DEFINED
|
||||||
wchar_t* __cdecl _wsetlocale(int,const wchar_t*);
|
wchar_t* __cdecl _wsetlocale(int,const wchar_t*);
|
||||||
|
|
Loading…
Reference in New Issue