summaryrefslogtreecommitdiff
path: root/src/internal/slibtool_dprintf_impl.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-06-26 14:36:26 +0000
committermidipix <writeonce@midipix.org>2018-06-27 07:30:01 -0400
commit6088476d902b8bcbf688ce7cb6055a4c47c2d0b7 (patch)
treed3dbacd94425a99567611084cfb392589f1e7b9d /src/internal/slibtool_dprintf_impl.h
parent5cc5f58e9585ec3e0455fbc54a227715144f91ae (diff)
downloadslibtool-6088476d902b8bcbf688ce7cb6055a4c47c2d0b7.tar.bz2
slibtool-6088476d902b8bcbf688ce7cb6055a4c47c2d0b7.tar.xz
driver: argv usage and error output: use the signal-resilient slbt_dprintf().
Diffstat (limited to 'src/internal/slibtool_dprintf_impl.h')
-rw-r--r--src/internal/slibtool_dprintf_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/slibtool_dprintf_impl.h b/src/internal/slibtool_dprintf_impl.h
index b223f8a..c99c4b1 100644
--- a/src/internal/slibtool_dprintf_impl.h
+++ b/src/internal/slibtool_dprintf_impl.h
@@ -1,6 +1,10 @@
#ifndef SLIBTOOL_DPRINTF_IMPL_H
#define SLIBTOOL_DPRINTF_IMPL_H
+#ifdef ARGV_DRIVER
+#define argv_dprintf slbt_dprintf
+#endif
+
int slbt_dprintf(int fd, const char * fmt, ...);
#endif