From 4120f91846f781ead7350f86c9614a19824450f5 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 19 Sep 2013 01:15:22 -0400 Subject: Don't write "Entering" every time we re-exec for remake makefiles. --- output.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'output.h') diff --git a/output.h b/output.h index 2bb1c39..1f0e2d7 100644 --- a/output.h +++ b/output.h @@ -22,10 +22,14 @@ struct output }; extern struct output *output_context; +extern unsigned int stdio_traced; #define OUTPUT_SET(_new) do{ if ((_new)->syncout) output_context = (_new); }while(0) #define OUTPUT_UNSET() do{ output_context = NULL; }while(0) +#define OUTPUT_TRACED() do{ stdio_traced = 1; }while(0) +#define OUTPUT_IS_TRACED() (!!stdio_traced) + FILE *output_tmpfile (char **, const char *); /* Initialize and close a child output structure: if NULL do this program's -- cgit v1.2.3