#if defined(PLATFORM_ANDROID)
/* SYS_fork is defined to be __NR_fork which is not defined in some ndk versions */
g_assert_not_reached ();
-#elif defined(SYS_fork)
+#elif !defined(PLATFORM_MACOSX) && defined(SYS_fork)
pid = (pid_t) syscall (SYS_fork);
#elif defined(PLATFORM_MACOSX) && HAVE_FORK
pid = (pid_t) fork ();
* this has changed on later versions of Android. Also, we don't want to
* set this on start-up as DUMPABLE has security implications. */
prctl (PR_SET_DUMPABLE, 1);
+
+ mono_runtime_printf_err ("\nNo native Android stacktrace (see debuggerd output).\n");
#endif
- mono_exception_native_unwind (ctx, info);
#endif
/*