[crt]
[reactos.git] / reactos / lib / sdk / crt / precomp.h
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 #if !defined(_MSC_VER)
40 #include <stdint.h>
41 #endif
42
43 /* kernelmode libcnt should not include Wine stuff */
44 #ifndef _LIBCNT_
45 #include "wine/unicode.h"
46 #include "wine/config.h"
47 #define WINE_NO_TRACE_MSGS
48 #include "wine/debug.h"
49 #ifndef __WINE_DEBUG_CHANNEL__
50 WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
51 #endif
52 #else
53 #define NDEBUG
54 #include <debug.h>
55 #define TRACE DPRINT
56 #define WARN DPRINT1
57 #endif
58
59 /* CRT Internal data */
60 #include <internal/atexit.h>
61 #include <internal/console.h>
62 #include <internal/ieee.h>
63 #include <internal/locale.h>
64 #include <internal/math.h>
65 #include <internal/mbstring.h>
66 #include <internal/misc.h>
67 #include <internal/mtdll.h>
68 #include <internal/rterror.h>
69 #include <internal/safecrt.h>
70 #include <internal/time.h>
71 #if !defined(_LIBCNT_) && !defined(_MSVCRTEX_)
72 #include <internal/tls.h>
73 #endif
74
75 #endif /* _CRT_PRECOMP_H */