xfail all scan-tree-dump-times checks on hppa*64*-*-* in sra-17.c and sra-18.c
[official-gcc.git] / libstdc++-v3 / src / c++17 / default_resource.h
blobf8d03d7d3bcafb6662d25f70d760688aa0269d02
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
5 #ifndef _GLIBCXX_HAS_GTHREADS
6 # error "This file should not be included for this build"
7 #elif ATOMIC_POINTER_LOCK_FREE == 2
8 # error "This file should not be included for this build"
9 #elif defined __GTHREAD_MUTEX_INIT
10 # error "This file should not be included for this build"
11 #endif
13 struct {
14 atomic_mem_res obj = &newdel_res.obj;
15 } default_res __attribute__ ((init_priority (100)));