mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
Include crtdefs.h instead of _mingw.h in the crt headers (like ms does), so only one header left (crtdefs.h) that includes a non-standard header
svn path=/trunk/; revision=38255
This commit is contained in:
parent
31733a5f8a
commit
ff489f9473
|
@ -6,7 +6,7 @@
|
|||
#ifndef __ASSERT_H_
|
||||
#define __ASSERT_H_
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
#ifdef __cplusplus
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
|
|
@ -26,8 +26,7 @@
|
|||
#ifndef _COMPLEX_H_
|
||||
#define _COMPLEX_H_
|
||||
|
||||
/* All the headers include this file. */
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
|
||||
|| !defined __STRICT_ANSI__
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_CONIO
|
||||
#define _INC_CONIO
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifndef _INC_CRTDBG
|
||||
#define _INC_CRTDBG
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_CTYPE
|
||||
#define _INC_CTYPE
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_DIRECT
|
||||
#define _INC_DIRECT
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
#include <io.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
/* All the headers include this file. */
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_DOS
|
||||
#define _INC_DOS
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
#include <io.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <emmintrin.h>
|
||||
#include <assert.h>
|
||||
#include <fvec.h>
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifndef _EH_H_
|
||||
#define _EH_H_
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_ERRNO
|
||||
#define _INC_ERRNO
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#include <io.h>
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
#ifndef _MINGW_FLOAT_H_
|
||||
#define _MINGW_FLOAT_H_
|
||||
|
||||
/* All the headers include this file. */
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
/*
|
||||
* Functions and definitions for controlling the FPU.
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_FPIEEE
|
||||
#define _INC_FPIEEE
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <xmmintrin.h>
|
||||
#include <assert.h>
|
||||
#include <ivec.h>
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#if defined(_ENABLE_VEC_DEBUG)
|
||||
#include <iostream>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#ifndef _INTTYPES_H_
|
||||
#define _INTTYPES_H_
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
#include <stdint.h>
|
||||
#define __need_wchar_t
|
||||
#include <stddef.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _IO_H_
|
||||
#define _IO_H_
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
#include <string.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#define _LIBGEN_H_
|
||||
|
||||
/* All the headers include this file. */
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifndef _INC_LIMITS
|
||||
#define _INC_LIMITS
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_LOCALE
|
||||
#define _INC_LOCALE
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _MALLOC_H_
|
||||
#define _MALLOC_H_
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
struct exception;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_MBCTYPE
|
||||
#define _INC_MBCTYPE
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_MBSTRING
|
||||
#define _INC_MBSTRING
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_MEMORY
|
||||
#define _INC_MEMORY
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include <new>
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma push_macro("new")
|
||||
#undef new
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_PROCESS
|
||||
#define _INC_PROCESS
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
/* Includes a definition of _pid_t and pid_t */
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_RTCAPI
|
||||
#define _INC_RTCAPI
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_SEARCH
|
||||
#define _INC_SEARCH
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_SETJMP
|
||||
#define _INC_SETJMP
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_SIGNAL
|
||||
#define _INC_SIGNAL
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifndef _INC_STDDEF
|
||||
#define _INC_STDDEF
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifndef _INC_STDEXCPT
|
||||
#define _INC_STDEXCPT
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef _STDINT_H
|
||||
#define _STDINT_H
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#define __need_wint_t
|
||||
#define __need_wchar_t
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_STDIO
|
||||
#define _INC_STDIO
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_STDLIB
|
||||
#define _INC_STDLIB
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
#include <limits.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_STRING
|
||||
#define _INC_STRING
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
#error Only Win32 target is supported!
|
||||
#endif
|
||||
|
||||
/* All the headers include this file. */
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#define _LK_UNLCK 0
|
||||
#define _LK_LOCK 1
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#error Only Win32 target is supported!
|
||||
#endif
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
#include <io.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _TIMEB_H_
|
||||
#define _TIMEB_H_
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifndef _WIN32
|
||||
#error Only Win32 target is supported!
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#error Only Win32 target is supported!
|
||||
#endif
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifdef _USE_32BIT_TIME_T
|
||||
#ifdef _WIN64
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#error Only Win32 target is supported!
|
||||
#endif
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifndef _INC_TCHAR
|
||||
#define _INC_TCHAR
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _TIME_H_
|
||||
#define _TIME_H_
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifndef _WIN32
|
||||
#error Only Win32 target is supported!
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifndef _INC_TYPEINFO
|
||||
#define _INC_TYPEINFO
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#error Only Win32 target is supported!
|
||||
#endif
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#undef _CRT_PACKING
|
||||
#define _CRT_PACKING 8
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _INC_WCHAR
|
||||
#define _INC_WCHAR
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#error Only Win32 target is supported!
|
||||
#endif
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _YVALS
|
||||
#define _YVALS
|
||||
|
||||
#include <_mingw.h>
|
||||
#include <crtdefs.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
|
|
Loading…
Reference in a new issue