mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Fix a bunch of namespace pollution.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78363 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -57,6 +57,7 @@ static void runAtExitHandlers() {
|
||||
* linking with libc_nonshared.a and -Wl,--export-dynamic doesn't make 'stat'
|
||||
* available as an exported symbol, so we have to add it explicitly.
|
||||
*/
|
||||
namespace {
|
||||
class StatSymbols {
|
||||
public:
|
||||
StatSymbols() {
|
||||
@@ -73,6 +74,7 @@ public:
|
||||
sys::DynamicLibrary::AddSymbol("mknod", (void*)(intptr_t)mknod);
|
||||
}
|
||||
};
|
||||
}
|
||||
static StatSymbols initStatSymbols;
|
||||
#endif // __linux__
|
||||
|
||||
|
||||
Reference in New Issue
Block a user