mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-30 04:30:43 +00:00
print cpp invocation for win32 too
This commit is contained in:
parent
96f81b69b8
commit
8de4d28238
1 changed files with 10 additions and 1 deletions
|
@ -201,7 +201,16 @@ preprocess_file (const char *filename)
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
int status = spawnvp (_P_WAIT, cpp_argv[0], (char **)cpp_argv);
|
int status;
|
||||||
|
|
||||||
|
if (options.verbosity > 1) {
|
||||||
|
const char **a;
|
||||||
|
for (a = cpp_argv; *a; a++)
|
||||||
|
printf ("%s ", *a);
|
||||||
|
puts("");
|
||||||
|
}
|
||||||
|
|
||||||
|
status = spawnvp (_P_WAIT, cpp_argv[0], (char **)cpp_argv);
|
||||||
|
|
||||||
if (status) {
|
if (status) {
|
||||||
fprintf (stderr, "%s: cpp returned error code %d\n",
|
fprintf (stderr, "%s: cpp returned error code %d\n",
|
||||||
|
|
Loading…
Reference in a new issue