mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
1861036f3b
release/17.x branch, commit 8f4dd44097c9ae25dd203d5ac87f3b48f854bba8
10 lines
355 B
C
Vendored
10 lines
355 B
C
Vendored
// 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__")
|