summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/internal/apimagic_dprintf_impl.h4
-rw-r--r--src/internal/apimagic_driver_impl.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/apimagic_dprintf_impl.h b/src/internal/apimagic_dprintf_impl.h
index becc889..76dccc8 100644
--- a/src/internal/apimagic_dprintf_impl.h
+++ b/src/internal/apimagic_dprintf_impl.h
@@ -1,6 +1,10 @@
#ifndef APIMAGIC_DPRINTF_IMPL_H
#define APIMAGIC_DPRINTF_IMPL_H
+#ifdef ARGV_DRIVER
+#define argv_dprintf amgc_dprintf
+#endif
+
int amgc_dprintf(int fd, const char * fmt, ...);
#endif
diff --git a/src/internal/apimagic_driver_impl.h b/src/internal/apimagic_driver_impl.h
index d2a6819..44268e0 100644
--- a/src/internal/apimagic_driver_impl.h
+++ b/src/internal/apimagic_driver_impl.h
@@ -6,6 +6,7 @@
#include <sys/types.h>
#include <apimagic/apimagic.h>
+#include "apimagic_dprintf_impl.h"
#include "argv/argv.h"
#ifndef AMGC_TAB_WIDTH