ReactOS 0.4.16-dev-197-g92996da
precomp.h
Go to the documentation of this file.
1#ifndef __CMD_PRECOMP_H
2#define __CMD_PRECOMP_H
3
4#ifdef _MSC_VER
5#pragma warning ( disable : 4103 ) /* use #pragma pack to change alignment */
6#undef _CRT_SECURE_NO_DEPRECATE
7#define _CRT_SECURE_NO_DEPRECATE
8#endif /*_MSC_VER */
9
10#include <stdio.h>
11#include <stdarg.h>
12#include <stdlib.h>
13#include <malloc.h>
14#include <tchar.h>
15
16#define WIN32_NO_STATUS
17#include <windef.h>
18#include <winbase.h>
19#include <winnls.h>
20#include <winreg.h>
21#include <winuser.h>
22#include <wincon.h>
23#include <shellapi.h>
24
25#define NTOS_MODE_USER
26#include <ndk/rtlfuncs.h>
27
28#include <strsafe.h>
29
30#include <conutils.h>
31
32#include "resource.h"
33
34#include "cmd.h"
35#include "config.h"
36#include "batch.h"
37
38#include <wine/debug.h>
40
41#ifdef UNICODE
42#define debugstr_aw debugstr_w
43#else
44#define debugstr_aw debugstr_a
45#endif
46
47#ifdef FEATURE_DYNAMIC_TRACE
48
51
52#undef FIXME
53#define FIXME(fmt, ...) \
54 CmdTrace(__WINE_DBCL_FIXME, __FILE__, __LINE__, __FUNCTION__, fmt, ## __VA_ARGS__)
55
56#undef ERR
57#define ERR(fmt, ...) \
58 CmdTrace(__WINE_DBCL_ERR, __FILE__, __LINE__, __FUNCTION__, fmt, ## __VA_ARGS__)
59
60#undef WARN
61#define WARN(fmt, ...) \
62 CmdTrace(__WINE_DBCL_WARN, __FILE__, __LINE__, __FUNCTION__, fmt, ## __VA_ARGS__)
63
64#undef TRACE
65#define TRACE(fmt, ...) \
66 CmdTrace(__WINE_DBCL_TRACE, __FILE__, __LINE__, __FUNCTION__, fmt, ## __VA_ARGS__)
67
68#endif /* def FEATURE_DYNAMIC_TRACE */
69
70#endif /* __CMD_PRECOMP_H */
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
void CmdTrace(INT type, LPCSTR file, INT line, LPCSTR func, LPCSTR fmt,...)
Definition: trace.c:15
BOOL g_bDynamicTrace
Definition: trace.c:13
unsigned int BOOL
Definition: ntddk_ex.h:94
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLenum func
Definition: glext.h:6028
Definition: ftp_var.h:139
Definition: fci.c:127
Definition: dsound.c:943
Definition: parser.c:49
int32_t INT
Definition: typedefs.h:58
const char * LPCSTR
Definition: xmlstorage.h:183