From 337d0f832f266ec480c608f1e036286b85667ef2 Mon Sep 17 00:00:00 2001 From: castano Date: Wed, 30 May 2007 08:52:35 +0000 Subject: [PATCH] fix debug:dumpInfo, backtrace is not available on win32. --- trunk/src/nvcore/Debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/nvcore/Debug.cpp b/trunk/src/nvcore/Debug.cpp index f75ad9a..ed9a686 100644 --- a/trunk/src/nvcore/Debug.cpp +++ b/trunk/src/nvcore/Debug.cpp @@ -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);