From 45f7244f2078493b73b091bb1a235c6d82c7a6f2 Mon Sep 17 00:00:00 2001 From: castano Date: Fri, 27 Jun 2008 18:52:49 +0000 Subject: [PATCH] Check in proposed fix for issue 44. --- src/nvcore/Debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvcore/Debug.cpp b/src/nvcore/Debug.cpp index 6ab0a89..c861a66 100644 --- a/src/nvcore/Debug.cpp +++ b/src/nvcore/Debug.cpp @@ -178,7 +178,7 @@ namespace static void * callerAddress(void * secret) { # if NV_OS_DARWIN -# if __DARWIN_UNIX03 +# if defined(_STRUCT_MCONTEXT) # if NV_CPU_PPC ucontext_t * ucp = (ucontext_t *)secret; return (void *) ucp->uc_mcontext->__ss.__srr0;