add WildCode's error checking for win32 cpp handling

This commit is contained in:
Bill Currie 2003-03-10 21:00:48 +00:00
parent 72d1343735
commit e3ad60f142

View file

@ -199,7 +199,11 @@ preprocess_file (const char *filename)
{
FILE *tmp = fopen (tempname->str, "wt");
if (tmp == NULL) {
fprintf (stderr, "%s: qfcc was unable to open\n",
tempname->str);
exit(1);
}
fclose (tmp);
}