Commit 80e21548 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

include/msvcrt: Include corecrt.h instead of crtdefs.h.

parent b512ae37
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <crtdefs.h> #include <corecrt.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef __WINE_CONIO_H #ifndef __WINE_CONIO_H
#define __WINE_CONIO_H #define __WINE_CONIO_H
#include <crtdefs.h> #include <corecrt.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_CRTDBG_H_ #ifndef __WINE_CRTDBG_H_
#define __WINE_CRTDBG_H_ #define __WINE_CRTDBG_H_
#include <crtdefs.h> #include <corecrt.h>
/* The debug API is not implemented in Winelib. /* The debug API is not implemented in Winelib.
* Redirect everything to the regular APIs. * Redirect everything to the regular APIs.
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef __WINE_CTYPE_H #ifndef __WINE_CTYPE_H
#define __WINE_CTYPE_H #define __WINE_CTYPE_H
#include <crtdefs.h> #include <corecrt.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -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 <crtdefs.h> #include <corecrt.h>
#include <pshpack8.h> #include <pshpack8.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef __WINE_DOS_H #ifndef __WINE_DOS_H
#define __WINE_DOS_H #define __WINE_DOS_H
#include <crtdefs.h> #include <corecrt.h>
#include <pshpack8.h> #include <pshpack8.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_EH_H #ifndef __WINE_EH_H
#define __WINE_EH_H #define __WINE_EH_H
#include <crtdefs.h> #include <corecrt.h>
#if !defined(__cplusplus) && !defined(__WINE_MSVCRT_TEST) #if !defined(__cplusplus) && !defined(__WINE_MSVCRT_TEST)
#error "eh.h is meant only for C++ applications" #error "eh.h is meant only for C++ applications"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#ifndef __WINE_ERRNO_H #ifndef __WINE_ERRNO_H
#define __WINE_ERRNO_H #define __WINE_ERRNO_H
#include <crtdefs.h> #include <corecrt.h>
# define EPERM 1 # define EPERM 1
# define ENOENT 2 # define ENOENT 2
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef __WINE_FCNTL_H #ifndef __WINE_FCNTL_H
#define __WINE_FCNTL_H #define __WINE_FCNTL_H
#include <crtdefs.h> #include <corecrt.h>
#define _O_RDONLY 0 #define _O_RDONLY 0
#define _O_WRONLY 1 #define _O_WRONLY 1
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#ifndef __WINE_FLOAT_H #ifndef __WINE_FLOAT_H
#define __WINE_FLOAT_H #define __WINE_FLOAT_H
#include <crtdefs.h> #include <corecrt.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#ifndef __WINE_FPIEEE_H #ifndef __WINE_FPIEEE_H
#define __WINE_FPIEEE_H #define __WINE_FPIEEE_H
#include <crtdefs.h> #include <corecrt.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef _INTTYPES_H_ #ifndef _INTTYPES_H_
#define _INTTYPES_H_ #define _INTTYPES_H_
#include <crtdefs.h> #include <corecrt.h>
#include <stdint.h> #include <stdint.h>
#define __need_wchar_t #define __need_wchar_t
#include <stddef.h> #include <stddef.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef __WINE_IO_H #ifndef __WINE_IO_H
#define __WINE_IO_H #define __WINE_IO_H
#include <crtdefs.h> #include <corecrt.h>
#include <pshpack8.h> #include <pshpack8.h>
......
#ifndef __WINE_LIMITS_H #ifndef __WINE_LIMITS_H
#define __WINE_LIMITS_H #define __WINE_LIMITS_H
#include <crtdefs.h> #include <corecrt.h>
#define CHAR_BIT 8 #define CHAR_BIT 8
#define MB_LEN_MAX 5 #define MB_LEN_MAX 5
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_LOCALE_H #ifndef __WINE_LOCALE_H
#define __WINE_LOCALE_H #define __WINE_LOCALE_H
#include <crtdefs.h> #include <corecrt.h>
#define LC_ALL 0 #define LC_ALL 0
#define LC_COLLATE 1 #define LC_COLLATE 1
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_MALLOC_H #ifndef __WINE_MALLOC_H
#define __WINE_MALLOC_H #define __WINE_MALLOC_H
#include <crtdefs.h> #include <corecrt.h>
/* heap function constants */ /* heap function constants */
#define _HEAPEMPTY -1 #define _HEAPEMPTY -1
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#ifndef __WINE_MATH_H #ifndef __WINE_MATH_H
#define __WINE_MATH_H #define __WINE_MATH_H
#include <crtdefs.h> #include <corecrt.h>
#include <pshpack8.h> #include <pshpack8.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_MBCTYPE_H #ifndef __WINE_MBCTYPE_H
#define __WINE_MBCTYPE_H #define __WINE_MBCTYPE_H
#include <crtdefs.h> #include <corecrt.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_MBSTRING_H #ifndef __WINE_MBSTRING_H
#define __WINE_MBSTRING_H #define __WINE_MBSTRING_H
#include <crtdefs.h> #include <corecrt.h>
#include <pshpack8.h> #include <pshpack8.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef __WINE_MEMORY_H #ifndef __WINE_MEMORY_H
#define __WINE_MEMORY_H #define __WINE_MEMORY_H
#include <crtdefs.h> #include <corecrt.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef __WINE_PROCESS_H #ifndef __WINE_PROCESS_H
#define __WINE_PROCESS_H #define __WINE_PROCESS_H
#include <crtdefs.h> #include <corecrt.h>
/* Process creation flags */ /* Process creation flags */
#define _P_WAIT 0 #define _P_WAIT 0
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_SEARCH_H #ifndef __WINE_SEARCH_H
#define __WINE_SEARCH_H #define __WINE_SEARCH_H
#include <crtdefs.h> #include <corecrt.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_SETJMP_H #ifndef __WINE_SETJMP_H
#define __WINE_SETJMP_H #define __WINE_SETJMP_H
#include <crtdefs.h> #include <corecrt.h>
#include <pshpack8.h> #include <pshpack8.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef _WINE_SIGNAL_H #ifndef _WINE_SIGNAL_H
#define _WINE_SIGNAL_H #define _WINE_SIGNAL_H
#include <crtdefs.h> #include <corecrt.h>
#define SIGINT 2 #define SIGINT 2
#define SIGILL 4 #define SIGILL 4
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#ifndef __WINE_STDDEF_H #ifndef __WINE_STDDEF_H
#define __WINE_STDDEF_H #define __WINE_STDDEF_H
#include <crtdefs.h> #include <corecrt.h>
#ifndef NULL #ifndef NULL
#ifdef __cplusplus #ifdef __cplusplus
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#ifndef _STDINT_H #ifndef _STDINT_H
#define _STDINT_H #define _STDINT_H
#include <crtdefs.h> #include <corecrt.h>
#define __need_wint_t #define __need_wint_t
#define __need_wchar_t #define __need_wchar_t
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef __WINE_STDIO_H #ifndef __WINE_STDIO_H
#define __WINE_STDIO_H #define __WINE_STDIO_H
#include <crtdefs.h> #include <corecrt.h>
#ifndef RC_INVOKED #ifndef RC_INVOKED
#include <stdarg.h> #include <stdarg.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef __WINE_STDLIB_H #ifndef __WINE_STDLIB_H
#define __WINE_STDLIB_H #define __WINE_STDLIB_H
#include <crtdefs.h> #include <corecrt.h>
#include <pshpack8.h> #include <pshpack8.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef __WINE_STRING_H #ifndef __WINE_STRING_H
#define __WINE_STRING_H #define __WINE_STRING_H
#include <crtdefs.h> #include <corecrt.h>
#ifndef _NLSCMP_DEFINED #ifndef _NLSCMP_DEFINED
#define _NLSCMPERROR ((unsigned int)0x7fffffff) #define _NLSCMPERROR ((unsigned int)0x7fffffff)
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef __WINE_SYS_STAT_H #ifndef __WINE_SYS_STAT_H
#define __WINE_SYS_STAT_H #define __WINE_SYS_STAT_H
#include <crtdefs.h> #include <corecrt.h>
#include <sys/types.h> #include <sys/types.h>
#include <pshpack8.h> #include <pshpack8.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_SYS_TIMEB_H #ifndef __WINE_SYS_TIMEB_H
#define __WINE_SYS_TIMEB_H #define __WINE_SYS_TIMEB_H
#include <crtdefs.h> #include <corecrt.h>
#include <pshpack8.h> #include <pshpack8.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_SYS_TYPES_H #ifndef __WINE_SYS_TYPES_H
#define __WINE_SYS_TYPES_H #define __WINE_SYS_TYPES_H
#include <crtdefs.h> #include <corecrt.h>
#ifndef _DEV_T_DEFINED #ifndef _DEV_T_DEFINED
typedef unsigned int _dev_t; typedef unsigned int _dev_t;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_SYS_UTIME_H #ifndef __WINE_SYS_UTIME_H
#define __WINE_SYS_UTIME_H #define __WINE_SYS_UTIME_H
#include <crtdefs.h> #include <corecrt.h>
#include <pshpack8.h> #include <pshpack8.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_TIME_H #ifndef __WINE_TIME_H
#define __WINE_TIME_H #define __WINE_TIME_H
#include <crtdefs.h> #include <corecrt.h>
#include <pshpack8.h> #include <pshpack8.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef __WINE_WCHAR_H #ifndef __WINE_WCHAR_H
#define __WINE_WCHAR_H #define __WINE_WCHAR_H
#include <crtdefs.h> #include <corecrt.h>
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef __WINE_WCTYPE_H #ifndef __WINE_WCTYPE_H
#define __WINE_WCTYPE_H #define __WINE_WCTYPE_H
#include <crtdefs.h> #include <corecrt.h>
#include <pshpack8.h> #include <pshpack8.h>
......
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