* edje: remove c++ comment also.

SVN revision: 55209
This commit is contained in:
Cedric BAIL 2010-12-03 17:55:02 +00:00
parent 2635ddcbf5
commit d5d953a533
1 changed files with 10 additions and 1 deletions

View File

@ -723,9 +723,18 @@ compile(void)
}
}
/* Trying gcc and other syntax */
if (ret != 0)
{
snprintf(buf, sizeof(buf), "%s -I%s %s -E -o %s - < %s",
snprintf(buf, sizeof(buf), "%s -I%s %s -E -o %s -std=c99 - < %s",
getenv("CC") ? getenv("CC") : "cc",
inc, def, tmpn, file_in);
ret = system(buf);
}
/* Trying suncc syntax */
if (ret != 0)
{
snprintf(buf, sizeof(buf), "%s -I%s %s -E -o %s -xc99 - < %s",
getenv("CC") ? getenv("CC") : "cc",
inc, def, tmpn, file_in);
ret = system(buf);