# if DARWIN_VERS == DARWIN_10_8
MACXY(VG_DARWIN_SYSCALL_CONSTRUCT_MACH(10), mach__10),
# else
- _____(VG_DARWIN_SYSCALL_CONSTRUCT_MACH(10),
+ _____(VG_DARWIN_SYSCALL_CONSTRUCT_MACH(10)),
# endif
_____(VG_DARWIN_SYSCALL_CONSTRUCT_MACH(11)),
}
}
+#if DARWIN_VERS == DARWIN_10_8
static void check_mmap_float(SysRes res, SizeT len, HChar* who)
{
if (sr_isError(res)) {
VG_(exit)(1);
}
}
-
+#endif
static int
load_thin_file(int fd, vki_off_t offset, vki_off_t size, unsigned long filetype,
This is a really nasty hack -- allocates 64M+stack size, then
deallocates the 64M, to guarantee that the stack is at least 64M
above zero. */
+#if DARWIN_VERS == DARWIN_10_8
static int
handle_lcmain ( vki_uint8_t **out_stack_start,
vki_uint8_t **out_stack_end,
return 0;
}
-
+#endif /* DARWIN_VERS == DARWIN_10_8 */