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

Define __restrict and __extensions__.

parent cb333323
...@@ -62,7 +62,7 @@ int main(int argc, char *argv[]) ...@@ -62,7 +62,7 @@ int main(int argc, char *argv[])
int runWithSystemPreprocessor(int argc, char *argv[]) int runWithSystemPreprocessor(int argc, char *argv[])
{ {
std::string cmdline; std::string cmdline;
cmdline += "gcc -E -xc++ -U__BLOCKS__"; cmdline += "gcc -E -xc++ -U__BLOCKS__ -D__restrict= -D__extension__=";
for (int i = 1; i < argc; ++i) { for (int i = 1; i < argc; ++i) {
cmdline += ' '; cmdline += ' ';
......
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