Commit da91bac2 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Compile.

parent f672bff3
...@@ -179,9 +179,9 @@ QByteArray GccToolChain::predefinedMacros() ...@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment