X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fgencgc-alloc-region.h;h=f209205d17ce874de28161f78844e6d9769d0f35;hb=35ab27e7aab71c94aa6be12da15603c7fd87fca8;hp=752c821dbd6b39dea29808ffb6a745b3de24a8b3;hpb=1eb303172df6650de51ad12b993a392681f50c50;p=sbcl.git diff --git a/src/runtime/gencgc-alloc-region.h b/src/runtime/gencgc-alloc-region.h index 752c821..f209205 100644 --- a/src/runtime/gencgc-alloc-region.h +++ b/src/runtime/gencgc-alloc-region.h @@ -3,6 +3,10 @@ #include "gc.h" +#ifndef LISP_FEATURE_GENCGC +#error "gencgc-alloc-region.h included, but LISP_FEATURE_GENCGC not defined" +#endif + /* Abstract out the data for an allocation region allowing a single * routine to be used for allocation and closing. */ struct alloc_region { @@ -12,8 +16,8 @@ struct alloc_region { void *end_addr; /* pointer to the byte after the last usable byte */ /* These are needed when closing the region. */ - long first_page; - long last_page; + page_index_t first_page; + page_index_t last_page; void *start_addr; };