mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 13:05:44 +00:00
- define msvc compabitble debug macro
- fix error in debug print svn path=/trunk/; revision=25581
This commit is contained in:
parent
80513cb036
commit
3b4ec883fa
1 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,8 @@
|
|||
#ifdef NDEBUG
|
||||
#if defined(__GNUC__)
|
||||
#define TRACE_LDR(args...) if (RtlGetNtGlobalFlags() & FLG_SHOW_LDR_SNAPS) { DbgPrint("(LDR:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); }
|
||||
#else
|
||||
#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)
|
||||
|
@ -736,7 +737,7 @@ LdrLoadDll (IN PWSTR SearchPath OPTIONAL,
|
|||
|
||||
TRACE_LDR("LdrLoadDll, loading %wZ%s%S\n",
|
||||
Name,
|
||||
SearchPath ? " from " : "",
|
||||
SearchPath ? L" from " : L"",
|
||||
SearchPath ? SearchPath : L"");
|
||||
|
||||
if (Name == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue