diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2022-09-14 07:42:05 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2022-09-14 07:42:05 +0300 |
commit | 69664ee76191c7b6a3745985b188652a3740aa2a (patch) | |
tree | 720d311544befd2b6acb42de2f6d972f6b5e0e20 /gc_cpp.cc | |
parent | 94091dc617b7626a1ccc060fbff153664618b181 (diff) | |
download | bdwgc-69664ee76191c7b6a3745985b188652a3740aa2a.tar.gz |
Include gc/gc[_cpp].h directly except for cord and tests
(refactoring)
* extra/msvc_dbg.c [!_M_ARM && !_M_ARM64 && !_M_X64 && _MSC_VER]:
Include "gc/gc.h" instead of "gc.h".
* gc_badalc.cc: Likewise.
* gc_cpp.cc: Likewise.
* include/private/gc_alloc_ptrs.h: Likewise.
* include/private/gc_atomic_ops.h [GC_BUILTIN_ATOMIC]: Likewise.
* include/private/gc_priv.h [!GC_H]: Likewise.
* gc_cpp.cc: Include "gc/gc_cpp.h" instead of "gc_cpp.h".
* include/private/gcconfig.h: Change include gc.h to include gc/gc.h
in comment.
Diffstat (limited to 'gc_cpp.cc')
-rw-r--r-- | gc_cpp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,11 +31,11 @@ built-in "new" and "delete". #endif #define GC_DONT_INCL_WINDOWS_H -#include "gc.h" +#include "gc/gc.h" #include <new> // for bad_alloc, precedes include of gc_cpp.h -#include "gc_cpp.h" // for GC_OPERATOR_NEW_ARRAY +#include "gc/gc_cpp.h" // for GC_OPERATOR_NEW_ARRAY #if !(defined(_MSC_VER) || defined(__DMC__)) || defined(GC_NO_INLINE_STD_NEW) |