580f29d310c2bd701064ef12c434eec07b97bb74
[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 /* Headers to be compiled */
11 #include <stdlib.h>
12 #include <stdio.h>
13 #include <string.h>
14 #include <conio.h>
15 #include <errno.h>
16 #include <fcntl.h>
17 #include <float.h>
18 #include <malloc.h>
19 #include <math.h>
20 #include <limits.h>
21 #include <io.h>
22
23 #include <sys/stat.h>
24 #include <sys/locking.h>
25 #include <share.h>
26
27 /* PSDK/NDK Headers */
28 #define WIN32_NO_STATUS
29 #include <windows.h>
30 #include <ndk/ntndk.h>
31
32 #if !defined(_MSC_VER)
33 #include <stdint.h>
34 #endif
35
36 #include "wine/unicode.h"
37
38 /* kernelmode libcnt should not include Wine-debugging crap */
39 #ifndef _LIBCNT_
40 #define WINE_NO_TRACE_MSGS
41 #include "wine/debug.h"
42 #ifndef __WINE_DEBUG_CHANNEL__
43 WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
44 #endif
45 #else
46 #define NDEBUG
47 #include <debug.h>
48 #define TRACE DPRINT
49 #define WARN DPRINT1
50 #endif
51
52 /* CRT Internal data */
53 #include <internal/atexit.h>
54 #include <internal/console.h>
55 #include <internal/file.h>
56 #include <internal/ieee.h>
57 #include <internal/math.h>
58 #include <internal/mbstring.h>
59 #include <internal/mtdll.h>
60 #include <internal/rterror.h>
61 #include <internal/time.h>
62 #include <internal/tls.h>
63 #include <internal/printf.h>
64
65 #endif /* _CRT_PRECOMP_H */