Commit d5b7dccd by Francois-Xavier Coudert Committed by François-Xavier Coudert

re PR ada/40608 (Ada build fails)

	PR ada/40608
	* init.c (APPLE): Include <mach/mach_init.h>.
	(__gnat_is_stack_guard, APPLE): Add ATTRIBUTE_UNUSED marker.

From-SVN: r149238
parent 258bd5dc
2009-07-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR ada/40608
* init.c (APPLE): Include <mach/mach_init.h>.
(__gnat_is_stack_guard, APPLE): Add ATTRIBUTE_UNUSED marker.
2009-07-04 Eric Botcazou <ebotcazou@adacore.com>
* ada-tree.h (SET_TYPE_LANG_SPECIFIC): Rewrite.
......
......@@ -2103,6 +2103,7 @@ __gnat_install_handler(void)
#include <signal.h>
#include <mach/mach_vm.h>
#include <mach/mach_init.h>
#include <mach/vm_statistics.h>
/* This must be in keeping with System.OS_Interface.Alternate_Stack_Size. */
......@@ -2140,7 +2141,7 @@ __gnat_is_stack_guard (mach_vm_address_t addr)
}
static void
__gnat_error_handler (int sig, siginfo_t * si, void * uc)
__gnat_error_handler (int sig, siginfo_t * si, void * uc ATTRIBUTE_UNUSED)
{
struct Exception_Data *exception;
const char *msg;
......
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