minor Darwin 3m clean-up

svn: r2246
This commit is contained in:
Matthew Flatt 2006-02-15 23:08:48 +00:00
parent 16f2eebe0e
commit aacbf0c5a5
2 changed files with 1 additions and 9 deletions

View File

@ -11,10 +11,6 @@
#include <stdio.h>
#include <string.h>
#if defined(__APPLE__) && defined(__ppc__) && defined(__MACH__) && !defined(OS_X)
# define OS_X
#endif
/**************** Configuration ****************/
#define GROW_FACTOR 1.5

View File

@ -90,10 +90,6 @@
/* the maximum number of pages to compact at any one time */
#define MAX_PAGES_TO_COMPACT 25
#if defined(__APPLE__)&&defined(__ppc__)&&defined(__MACH__) && !defined(OS_X)
# define OS_X
#endif
/* These are computed from the previous settings. You shouldn't mess with
them */
#define PTR(x) ((void*)(x))
@ -167,7 +163,7 @@ inline static void free_used_pages(size_t len)
# define MALLOCATOR_DEFINED
#endif
#ifdef OS_X
#if defined(__APPLE__) && defined(__MACH__)
# define TEST 0
void designate_modified(void *p);
# include "vm_osx.c"