nativity/lib/include/cuda_wrappers/bits/shared_ptr_base.h
David Gonzalez Martin 38011a233c Integrate libs
2024-03-02 12:58:12 -06:00

10 lines
355 B
C

// CUDA headers define __noinline__ which interferes with libstdc++'s use of
// `__attribute((__noinline__))`. In order to avoid compilation error,
// temporarily unset __noinline__ when we include affected libstdc++ header.
#pragma push_macro("__noinline__")
#undef __noinline__
#include_next "bits/shared_ptr_base.h"
#pragma pop_macro("__noinline__")