Commit 26ffc40b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

include: Add corecrt_wdirect.h header.

parent ce62c3c8
...@@ -427,6 +427,7 @@ SOURCES = \ ...@@ -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 \
......
/**
* 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 @@ ...@@ -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); ...@@ -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 @@ ...@@ -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" { ...@@ -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*);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment