mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
10 lines
354 B
C++
Vendored
10 lines
354 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/basic_string.tcc"
|
|
|
|
#pragma pop_macro("__noinline__")
|