Commit 93a7845a authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ntdll: Use #ifdef to check for potentially undefined macros.

parent fca2d194
...@@ -1431,7 +1431,7 @@ static NTSTATUS dwarf_virtual_unwind( ULONG64 ip, ULONG64 *frame,CONTEXT *contex ...@@ -1431,7 +1431,7 @@ static NTSTATUS dwarf_virtual_unwind( ULONG64 ip, ULONG64 *frame,CONTEXT *contex
} }
#if HAVE_LIBUNWIND_H #ifdef HAVE_LIBUNWIND_H
/*********************************************************************** /***********************************************************************
* libunwind_set_cursor_from_context * libunwind_set_cursor_from_context
*/ */
...@@ -2341,7 +2341,7 @@ static NTSTATUS call_stack_handlers( EXCEPTION_RECORD *rec, CONTEXT *orig_contex ...@@ -2341,7 +2341,7 @@ static NTSTATUS call_stack_handlers( EXCEPTION_RECORD *rec, CONTEXT *orig_contex
if (status != STATUS_SUCCESS) return status; if (status != STATUS_SUCCESS) return status;
got_info = TRUE; got_info = TRUE;
} }
#if HAVE_LIBUNWIND_H #ifdef HAVE_LIBUNWIND_H
else else
{ {
status = libunwind_virtual_unwind( context.Rip, &got_info, &dispatch.EstablisherFrame, &new_context, status = libunwind_virtual_unwind( context.Rip, &got_info, &dispatch.EstablisherFrame, &new_context,
...@@ -3369,7 +3369,7 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec ...@@ -3369,7 +3369,7 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
if (status != STATUS_SUCCESS) raise_status( status, rec ); if (status != STATUS_SUCCESS) raise_status( status, rec );
got_info = TRUE; got_info = TRUE;
} }
#if HAVE_LIBUNWIND_H #ifdef HAVE_LIBUNWIND_H
else else
{ {
status = libunwind_virtual_unwind( context->Rip, &got_info, &dispatch.EstablisherFrame, &new_context, status = libunwind_virtual_unwind( context->Rip, &got_info, &dispatch.EstablisherFrame, &new_context,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment