ReactOS 0.4.15-dev-7942-gd23573b
precomp.h
Go to the documentation of this file.
1#ifndef _CRT_PRECOMP_H
2#define _CRT_PRECOMP_H
3
4/* We don't want to use the Microsoft CRT inline functions
5 so we hack around them in msvc build */
6#define _INC_WTIME_INL
7#define _INC_UTIME_INL
8#define _INC_TIME_INL
9
10/* needed to expose _s api definitions */
11#define MINGW_HAS_SECURE_API 1
12
13/* Headers to be compiled */
14#include <stdlib.h>
15#include <stdio.h>
16#include <stdarg.h>
17#include <string.h>
18#include <conio.h>
19#include <errno.h>
20#include <fcntl.h>
21#include <float.h>
22#include <malloc.h>
23#include <math.h>
24#include <limits.h>
25#include <io.h>
26
27#include <sys/stat.h>
28#include <sys/locking.h>
29#include <share.h>
30
31/* PSDK/NDK Headers */
32#define WIN32_NO_STATUS
33#include <windef.h>
34#include <winbase.h>
35#include <wincon.h>
36#include <winuser.h>
37#include <ndk/rtlfuncs.h>
38
39// Our headers are pretty messed up
40#undef CDECL
41#if defined(_M_IX86)
42#define CDECL __cdecl
43#else
44#define CDECL
45#endif
46
47#if !defined(_MSC_VER)
48 #include <stdint.h>
49#endif
50
51/* kernelmode libcnt should not include Wine stuff */
52#ifndef _LIBCNT_
53#include "wine/unicode.h"
54#include "wine/config.h"
55#define WINE_NO_TRACE_MSGS
56#include "wine/debug.h"
57#ifndef __WINE_DEBUG_CHANNEL__
59#endif
60#else
61#define NDEBUG
62#include <debug.h>
63#define TRACE DPRINT
64#define WARN DPRINT1
65#endif
66
67/* CRT Internal data */
68#include <internal/atexit.h>
69#include <internal/console.h>
70#include <internal/ieee.h>
71#include <internal/locale.h>
72#include <internal/math.h>
73#include <internal/mbstring.h>
74#include <internal/misc.h>
75#include <internal/mtdll.h>
76#include <internal/popen.h>
77#include <internal/rterror.h>
78#include <internal/safecrt.h>
79#include <internal/time.h>
80#if !defined(_LIBCNT_) && !defined(_MSVCRTEX_)
81#include <internal/tls.h>
82#endif
83
84#endif /* _CRT_PRECOMP_H */
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23