From 69664ee76191c7b6a3745985b188652a3740aa2a Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 14 Sep 2022 07:42:05 +0300 Subject: 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. --- gc_cpp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gc_cpp.cc') diff --git a/gc_cpp.cc b/gc_cpp.cc index d54d60f7..7ab4a2db 100644 --- a/gc_cpp.cc +++ b/gc_cpp.cc @@ -31,11 +31,11 @@ built-in "new" and "delete". #endif #define GC_DONT_INCL_WINDOWS_H -#include "gc.h" +#include "gc/gc.h" #include // 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) -- cgit v1.2.1