* extra/AmigaOS.c (GC_amiga_get_mem): Define only if GC_AMIGA_FASTALLOC.
* extra/MacOS.c (TemporaryMemoryBlock, TemporaryMemoryHandle,
struct TemporaryMemoryBlock, theTemporaryMemory,
GC_MacTemporaryNewPtr, perform_final_collection,
GC_MacFreeTemporaryMemory): Define only if USE_TEMPORARY_MEMORY.
#endif
+#ifdef GC_AMIGA_FASTALLOC
+
/*
* The actual function that is called with the GET_MEM macro.
*
}
-
+#endif
#ifndef GC_AMIGA_ONLYFAST
return 0;
}
+#ifdef USE_TEMPORARY_MEMORY
+
/* track the use of temporary memory so it can be freed all at once. */
typedef struct TemporaryMemoryBlock TemporaryMemoryBlock, **TemporaryMemoryHandle;
}
}
+#endif /* USE_TEMPORARY_MEMORY */
+
#if __option(far_data)
void* GC_MacGetDataEnd(void)