summaryrefslogtreecommitdiff
path: root/Makefile.direct
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2021-07-25 22:43:44 +0300
committerIvan Maidanski <ivmai@mail.ru>2021-07-25 22:43:44 +0300
commit2b3873928304b0dd5b2575092cbc508a91d3ae55 (patch)
treec55157da455ac36b675d810b5d0e569bab196ca7 /Makefile.direct
parent9abc279f49317713cb9bc582eb87d062ad66d4d8 (diff)
downloadbdwgc-2b3873928304b0dd5b2575092cbc508a91d3ae55.tar.gz
Remove new_gc_alloc.h file
The removed header was not exported anyway and provided the SGI-style allocators depending on an ancient STL version. * Makefile.direct (SRCS): Remove include/new_gc_alloc.h; rename include/gc_alloc_ptrs.h to include/private/gc_alloc_ptrs.h. * include/include.am (dist_noinst_HEADERS): Likewise. * doc/gcinterface.md (STL allocators): Remove information about SGI-style allocators (defined in new_gc_alloc.h). * include/new_gc_alloc.h: Remove file. * include/gc_alloc_ptrs.h: Move to include/private folder. * include/private/gc_alloc_ptrs.h [!GC_API_PRIV] (GC_API_PRIV): Define. * include/private/gc_alloc_ptrs.h (GC_objfreelist_ptr, GC_aobjfreelist_ptr, GC_uobjfreelist_ptr, GC_incr_bytes_allocd, GC_incr_bytes_freed): Use GC_API_PRIV instead of GC_API. * include/private/gc_alloc_ptrs.h [GC_ATOMIC_UNCOLLECTABLE] (GC_auobjfreelist_ptr): Likewise. * mallocx.c: Include private/gc_alloc_ptrs.h (instead of gc_alloc_ptrs.h). * mallocx.c (GC_incr_bytes_allocd, GC_incr_bytes_freed): Remove GC_API. * tests/test_cpp.cc: Include "gc_allocator.h" (even if DONT_USE_STD_ALLOCATOR). * tests/test_cpp.cc (main): Remove code inside ifdef DONT_USE_STD_ALLOCATOR blocks.
Diffstat (limited to 'Makefile.direct')
-rw-r--r--Makefile.direct2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.direct b/Makefile.direct
index 84082f3e..fc4db7ef 100644
--- a/Makefile.direct
+++ b/Makefile.direct
@@ -109,7 +109,7 @@ SRCS= $(CSRCS) \
include/private/gcconfig.h include/private/gc_pmark.h \
include/gc_inline.h include/gc_mark.h include/gc_disclaim.h \
tools/threadlibs.c tools/if_mach.c tools/if_not_there.c gc_badalc.cc \
- gc_cpp.cc include/gc_cpp.h include/new_gc_alloc.h include/gc_alloc_ptrs.h \
+ gc_cpp.cc include/gc_cpp.h include/private/gc_alloc_ptrs.h \
include/gc_allocator.h include/javaxfc.h include/gc_backptr.h \
include/gc_gcj.h include/private/gc_locks.h include/private/dbg_mlc.h \
include/private/specific.h include/leak_detector.h \