summaryrefslogtreecommitdiff
path: root/bcc/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/output.c')
-rw-r--r--bcc/output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bcc/output.c b/bcc/output.c
index b82f968..dd00c71 100644
--- a/bcc/output.c
+++ b/bcc/output.c
@@ -157,7 +157,9 @@ char *message;
PUBLIC void finishup()
{
+#ifdef BUILTIN_CPP
if (!orig_cppmode)
+#endif
{
if (watchlc)
{
@@ -208,7 +210,9 @@ PUBLIC void flushout()
}
if (nbytes != 0)
{
+#ifdef BUILTIN_CPP
if (!orig_cppmode)
+#endif
clearlabels(outbufptr, outbufptr + nbytes);
if (write(output, outbufptr, nbytes) != nbytes)
{