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:
Vadim Zeitlin 2016-05-17 20:26:16 +02:00
parent 6a2a4ef38b
commit fb4ff2449c

View File

@ -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: