xref: /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/default_resource.h (revision 627f7eb200a4419d89b531d55fccd2ee3ffdcde0)
1 // This is only in a header so we can use the system_header pragma,
2 // to suppress the warning caused by using a reserved init_priority.
3 #pragma GCC system_header
4 
5 #if ATOMIC_POINTER_LOCK_FREE == 2 || defined(__GTHREAD_MUTEX_INIT)
6 # error "This file should not be included for this build"
7 #endif
8 
9 struct {
10   atomic_mem_res obj = &newdel_res.obj;
11 } default_res __attribute__ ((init_priority (100)));
12