--- uae/src/missing.c 2018/04/24 16:58:27 1.1.1.3 +++ uae/src/missing.c 2018/04/24 17:05:44 1.1.1.5 @@ -9,8 +9,6 @@ #include "sysconfig.h" #include "sysdeps.h" -#include "config.h" -#include "options.h" #include "uae.h" #ifndef HAVE_STRDUP @@ -29,7 +27,7 @@ void *xmalloc (size_t n) { void *a = malloc (n); if (a == NULL) { - fprintf (stderr, "virtual memory exhausted\n"); + write_log ("virtual memory exhausted\n"); abort (); } return a; @@ -39,7 +37,7 @@ void *xcalloc (size_t n, size_t size) { void *a = calloc (n, size); if (a == NULL) { - fprintf (stderr, "virtual memory exhausted\n"); + write_log ("virtual memory exhausted\n"); abort (); } return a;