Skip to content
Snippets Groups Projects
Commit da91bac2 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Compile.

parent f672bff3
No related branches found
No related tags found
No related merge requests found
......@@ -179,9 +179,9 @@ QByteArray GccToolChain::predefinedMacros()
// Turn off flag indicating Apple's blocks support
int idx = m_predefinedMacros.indexOf("#define __BLOCKS__ 1");
if (idx != -1) {
idx = m_predefinedMacros.indexOf(QLatin1Char('1'), idx);
idx = m_predefinedMacros.indexOf('1', idx);
m_predefinedMacros[idx] = '0';
}-
}
// Define __strong and __weak (used for Apple's GC extension of C) to be empty
m_predefinedMacros.append("#define __strong\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment