mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 22:33:08 +00:00
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__")
|