Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
da91bac2
Commit
da91bac2
authored
Feb 01, 2010
by
Roberto Raggi
Browse files
Compile.
parent
f672bff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/toolchain.cpp
View file @
da91bac2
...
...
@@ -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
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment