diff --git a/trunk/src/nvcore/Debug.cpp b/trunk/src/nvcore/Debug.cpp index 98b139c..f75ad9a 100644 --- a/trunk/src/nvcore/Debug.cpp +++ b/trunk/src/nvcore/Debug.cpp @@ -38,6 +38,7 @@ # include // getpid # include # include // sysctl +# include #endif #include // std::runtime_error @@ -179,9 +180,9 @@ namespace # elif NV_CPU_PPC ucontext_t * ucp = (ucontext_t *)secret; return (void *) ucp->uc_mcontext.regs->nip; -#else +# else return NULL; -#endif +# endif // How to obtain the instruction pointers in different platforms, from mlton's source code. // http://mlton.org/