From 83ebc0af67cf2d4cd5a45fa253dac88f1cb3b1e4 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 27 Nov 2012 02:23:18 +0100 Subject: Seems new memcpy is only good for ipepdvcompute2, make it optional and disabled by default --- fastwriter.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'fastwriter.c') diff --git a/fastwriter.c b/fastwriter.c index c5bf301..08722fa 100644 --- a/fastwriter.c +++ b/fastwriter.c @@ -15,11 +15,16 @@ #include - #include "private.h" #include "default.h" #include "sysinfo.h" -#include "memcpy.h" + +#ifdef USE_CUSTOM_MEMCPY +# include "memcpy.h" +#else /* USE_CUSTOM_MEMCPY */ +# define fast_memcpy memcpy +#endif /* USE_CUSTOM_MEMCPY */ + fastwriter_t *fastwriter_init(const char *fs, fastwriter_flags_t flags) { fastwriter_t *ctx; -- cgit v1.2.3