commit | 6e089f8b100bb5c118879cf6e1ca935cb89fa259 | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Mon Jul 16 20:01:59 2018 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Mon Jul 16 20:01:59 2018 +0000 |
tree | dae9774d76e15e9ed99fdbd2db89dcace4d011cc | |
parent | a40a6b3f6e4b186ba7b510526bc24679e6556621 [diff] |
Fix PR38160 - init_priority attribute not supported by GCC on Apple. This patch guards the use of __attribute__((init_priority(101))) within memory_resource.cpp when building with compilers that don't support it. Specifically GCC on Apple platforms, and MSVC. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@337205 91177308-0d34-0410-b5e6-96231b3b80d8