mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
fixing boehm build, excluding image code when not used
This commit is contained in:
parent
710d1584ba
commit
11ad0c3e3d
3 changed files with 6 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
#include "gc_heap.h"
|
#include "gc_heap.h"
|
||||||
|
|
||||||
|
#if SEXP_USE_IMAGE_LOADING
|
||||||
|
|
||||||
#define ERR_STR_SIZE 256
|
#define ERR_STR_SIZE 256
|
||||||
char gc_heap_err_str[ERR_STR_SIZE];
|
char gc_heap_err_str[ERR_STR_SIZE];
|
||||||
|
|
||||||
|
@ -729,3 +731,5 @@ void sexp_gc_heap_stats_print(sexp ctx)
|
||||||
printf(" ========================================\n");
|
printf(" ========================================\n");
|
||||||
printf(" %6zu %7zu\n", total_count, total_size);
|
printf(" %6zu %7zu\n", total_count, total_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* SEXP_USE_IMAGE_LOADING */
|
||||||
|
|
|
@ -1563,7 +1563,7 @@ SEXP_API sexp sexp_finalize (sexp ctx);
|
||||||
|
|
||||||
#if SEXP_USE_GLOBAL_HEAP
|
#if SEXP_USE_GLOBAL_HEAP
|
||||||
#define sexp_free_heap(heap)
|
#define sexp_free_heap(heap)
|
||||||
#define sexp_destroy_context(ctx)
|
#define sexp_destroy_context(ctx) SEXP_TRUE
|
||||||
#else
|
#else
|
||||||
SEXP_API void sexp_free_heap (sexp_heap heap);
|
SEXP_API void sexp_free_heap (sexp_heap heap);
|
||||||
SEXP_API sexp sexp_destroy_context (sexp ctx);
|
SEXP_API sexp sexp_destroy_context (sexp ctx);
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
CPPFLAGS=-DSEXP_USE_MODULES=0
|
CPPFLAGS=-DSEXP_USE_MODULES=0
|
||||||
CPPFLAGS=-DSEXP_USE_GREEN_THREADS=0
|
CPPFLAGS=-DSEXP_USE_GREEN_THREADS=0
|
||||||
|
CPPFLAGS=-DSEXP_USE_IMAGE_LOADING=0
|
||||||
CPPFLAGS=-DSEXP_USE_DL=0
|
CPPFLAGS=-DSEXP_USE_DL=0
|
||||||
CPPFLAGS=-DSEXP_USE_SIMPLIFY=0
|
CPPFLAGS=-DSEXP_USE_SIMPLIFY=0
|
||||||
CPPFLAGS=-DSEXP_USE_TYPE_DEFS=0
|
CPPFLAGS=-DSEXP_USE_TYPE_DEFS=0
|
||||||
|
|
Loading…
Add table
Reference in a new issue