Correct test for MSVC in wxStackWalker::Walk()
Use "#if defined" instead of "#if" for the check for __VISUALC__ added in
e405bf1607
to avoid -Wundef warnings when
compiling this code with gcc.
This commit is contained in:
parent
6a2a4ef38b
commit
fb4ff2449c
@ -343,7 +343,7 @@ void wxStackWalker::Walk(size_t skip, size_t maxDepth)
|
||||
ctx.Eip = regEip;
|
||||
ctx.Esp = regEsp;
|
||||
ctx.Ebp = regEbp;
|
||||
#elif __VISUALC__
|
||||
#elif defined(__VISUALC__)
|
||||
__asm
|
||||
{
|
||||
Here:
|
||||
|
Loading…
Reference in New Issue
Block a user