forked from qt-creator/qt-creator
Compile.
This commit is contained in:
@@ -179,9 +179,9 @@ QByteArray GccToolChain::predefinedMacros()
|
|||||||
// Turn off flag indicating Apple's blocks support
|
// Turn off flag indicating Apple's blocks support
|
||||||
int idx = m_predefinedMacros.indexOf("#define __BLOCKS__ 1");
|
int idx = m_predefinedMacros.indexOf("#define __BLOCKS__ 1");
|
||||||
if (idx != -1) {
|
if (idx != -1) {
|
||||||
idx = m_predefinedMacros.indexOf(QLatin1Char('1'), idx);
|
idx = m_predefinedMacros.indexOf('1', idx);
|
||||||
m_predefinedMacros[idx] = '0';
|
m_predefinedMacros[idx] = '0';
|
||||||
}-
|
}
|
||||||
|
|
||||||
// Define __strong and __weak (used for Apple's GC extension of C) to be empty
|
// Define __strong and __weak (used for Apple's GC extension of C) to be empty
|
||||||
m_predefinedMacros.append("#define __strong\n");
|
m_predefinedMacros.append("#define __strong\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user