summaryrefslogtreecommitdiffstats
path: root/libtdenetwork/libgpgme-copy/gpgme/fakes.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtdenetwork/libgpgme-copy/gpgme/fakes.c')
-rw-r--r--libtdenetwork/libgpgme-copy/gpgme/fakes.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/libtdenetwork/libgpgme-copy/gpgme/fakes.c b/libtdenetwork/libgpgme-copy/gpgme/fakes.c
new file mode 100644
index 00000000..44d5940f
--- /dev/null
+++ b/libtdenetwork/libgpgme-copy/gpgme/fakes.c
@@ -0,0 +1,24 @@
+#include <config.h>
+
+/** How can this work? The prototypes are not defined anywhere for code using those functions.... */
+
+#ifndef HAVE_STPCPY
+#include "stpcpy.c"
+#endif
+
+/*#ifndef HAVE_ISASCII
+#include "isascii.c"
+#endif*/
+
+#ifndef HAVE_PUTC_UNLOCKED
+#ifndef __FreeBSD__
+#include "putc_unlocked.c"
+#endif
+#endif
+
+#ifndef HAVE_MEMRCHR
+#include "memrchr.c"
+#endif
+
+
+