fix debug:dumpInfo, backtrace is not available on win32.
This commit is contained in:
parent
fed650036d
commit
acbebcc444
@ -420,7 +420,7 @@ void NV_CDECL nvDebug(const char *msg, ...)
|
||||
/// Dump debug info.
|
||||
void debug::dumpInfo()
|
||||
{
|
||||
#if defined(HAVE_EXECINFO_H)
|
||||
#if !NV_OS_WIN32 && defined(HAVE_SIGNAL_H) && defined(HAVE_EXECINFO_H)
|
||||
void * trace[64];
|
||||
int size = backtrace(trace, 64);
|
||||
nvPrintStackTrace(trace, size, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user