mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-28 03:17:08 +03:00
70c85b1bf1
release/18.x branch, commit 78b99c73ee4b96fe9ce0e294d4632326afb2db42
10 lines
352 B
C
Vendored
10 lines
352 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.h"
|
|
|
|
#pragma pop_macro("__noinline__")
|