Skip to content

Instantly share code, notes, and snippets.

@smpb
Created January 2, 2013 12:05
Show Gist options
  • Save smpb/4434114 to your computer and use it in GitHub Desktop.
Save smpb/4434114 to your computer and use it in GitHub Desktop.
"The TinyFugue website says that it should compile right out of the box with the OS X dev tools installed, but this doesn’t seem to work. While compiling it right out of the box, I get the following error after running make: malloc.c:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'malloc_base' So I took a look at line 15 of m…
--- src/malloc.orig.c 2009-10-29 03:16:07.000000000 -0500
+++ src/malloc.c 2009-10-29 03:16:18.000000000 -0500
@@ -12,7 +12,7 @@ static const char RCSid[] = "$Id: malloc
#include "signals.h"
#include "malloc.h"
-caddr_t mmalloc_base = NULL;
+void *mmalloc_base = NULL;
int low_memory_warning = 0;
static char *reserve = NULL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment