summaryrefslogtreecommitdiffhomepage
path: root/src/internal/ptycon_dprintf_impl.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-07-15 10:51:43 -0400
committermidipix <writeonce@midipix.org>2018-07-15 11:01:59 -0400
commit36f709d911fada11825b77e72ceb6277f2c9a521 (patch)
treed7e53a2d20cd67976ad14044892c57358a0da36c /src/internal/ptycon_dprintf_impl.h
parent2358806aa095d5c79a17ab9da01243506fca8016 (diff)
downloadptycon-36f709d911fada11825b77e72ceb6277f2c9a521.tar.bz2
ptycon-36f709d911fada11825b77e72ceb6277f2c9a521.tar.xz
driver: argv usage and error output: use the signal-resilient ptyc_dprintf().
Diffstat (limited to 'src/internal/ptycon_dprintf_impl.h')
-rw-r--r--src/internal/ptycon_dprintf_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/ptycon_dprintf_impl.h b/src/internal/ptycon_dprintf_impl.h
index 495b787..d2b5c7d 100644
--- a/src/internal/ptycon_dprintf_impl.h
+++ b/src/internal/ptycon_dprintf_impl.h
@@ -1,6 +1,10 @@
#ifndef PTYCON_DPRINTF_IMPL_H
#define PTYCON_DPRINTF_IMPL_H
+#ifdef ARGV_DRIVER
+#define argv_dprintf ptyc_dprintf
+#endif
+
int ptyc_dprintf(int fd, const char * fmt, ...);
#endif