mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
modified dll/ntdll/include/ntdll.h
Explicitly include <pseh/pseh2.h> modified dll/ntdll/ldr/utils.c Use ANSI C variadic macros, instead of hacks ntdll now compiles with Visual C++ svn path=/trunk/; revision=41556
This commit is contained in:
parent
b704b9556d
commit
2cdaa146f7
2 changed files with 4 additions and 7 deletions
|
@ -32,4 +32,7 @@
|
|||
/* CSRSS Header */
|
||||
#include <csrss/csrss.h>
|
||||
|
||||
/* PSEH */
|
||||
#include <pseh/pseh2.h>
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -27,13 +27,7 @@
|
|||
/* GLOBALS *******************************************************************/
|
||||
|
||||
#ifdef NDEBUG
|
||||
#if defined(__GNUC__)
|
||||
#define TRACE_LDR(args...) if (RtlGetNtGlobalFlags() & FLG_SHOW_LDR_SNAPS) { DbgPrint("(LDR:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); }
|
||||
#elif defined(_MSC_VER)
|
||||
#define TRACE_LDR(args, ...) if (RtlGetNtGlobalFlags() & FLG_SHOW_LDR_SNAPS) { DbgPrint("(LDR:%s:%d) ",__FILE__,__LINE__); DbgPrint(__VA_ARGS__); }
|
||||
#endif /* __GNUC__ */
|
||||
#else
|
||||
#define TRACE_LDR(args...) do { DbgPrint("(LDR:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0)
|
||||
#define TRACE_LDR(...) if (RtlGetNtGlobalFlags() & FLG_SHOW_LDR_SNAPS) { DbgPrint("(LDR:%s:%d) ",__FILE__,__LINE__); DbgPrint(__VA_ARGS__); }
|
||||
#endif
|
||||
|
||||
typedef struct _TLS_DATA
|
||||
|
|
Loading…
Reference in a new issue