forked from OSchip/llvm-project
define __weak to null in rewritten source for
-fms-extensions as well. llvm-svn: 93569
This commit is contained in:
parent
fd850837a3
commit
f0462ff691
|
@ -618,6 +618,7 @@ void RewriteObjC::Initialize(ASTContext &context) {
|
|||
Preamble += "#undef __OBJC_RW_DLLIMPORT\n";
|
||||
Preamble += "#undef __OBJC_RW_STATICIMPORT\n";
|
||||
Preamble += "#define __attribute__(X)\n";
|
||||
Preamble += "#define __weak\n";
|
||||
}
|
||||
else {
|
||||
Preamble += "#define __block\n";
|
||||
|
|
Loading…
Reference in New Issue