Merge "libexpr/gc-alloc: fix compilation with !HAVE_BOEHMGC" into main
This commit is contained in:
commit
73c013a5df
1 changed files with 2 additions and 2 deletions
|
@ -10,6 +10,8 @@
|
|||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
#include "checked-arithmetic.hh"
|
||||
|
||||
#if HAVE_BOEHMGC
|
||||
#include <functional> // std::less
|
||||
#include <utility> // std::pair
|
||||
|
@ -18,8 +20,6 @@
|
|||
#include <gc/gc_allocator.h>
|
||||
#include <gc/gc_cpp.h>
|
||||
|
||||
#include "checked-arithmetic.hh"
|
||||
|
||||
/// calloc, transparently GC-enabled.
|
||||
#define LIX_GC_CALLOC(size) GC_MALLOC(size)
|
||||
|
||||
|
|
Loading…
Reference in a new issue