Hackish, but it fixes the problem with stupid cpp's.

SVN revision: 9804
This commit is contained in:
rbdpngn 2004-04-20 03:14:46 +00:00 committed by rbdpngn
parent 107315ec99
commit c742fbdd6a
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{