forked from enlightenment/efl
Hackish, but it fixes the problem with stupid cpp's.
SVN revision: 9804
This commit is contained in:
parent
107315ec99
commit
c742fbdd6a
|
@ -507,7 +507,7 @@ compile(void)
|
|||
clean_file = tmpn;
|
||||
close(fd);
|
||||
atexit(clean_tmp_file);
|
||||
snprintf(buf, sizeof(buf), "cpp -E %s > %s", file_in, tmpn);
|
||||
snprintf(buf, sizeof(buf), "cat %s | cpp -E -o %s", file_in, tmpn);
|
||||
ret = system(buf);
|
||||
if (ret < 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue