/alps/fastwriter

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/fastwriter

« back to all changes in this revision

Viewing changes to fastwriter.c

  • Committer: Suren A. Chilingaryan
  • Date: 2012-11-27 01:23:18 UTC
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: csa@dside.dyndns.org-20121127012318-lbfqejwt1anxvp3l
Seems new memcpy is only good for ipepdvcompute2, make it optional and disabled by default

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#include <fcntl.h>
17
17
 
18
 
 
19
18
#include "private.h"
20
19
#include "default.h"
21
20
#include "sysinfo.h"
22
 
#include "memcpy.h"
 
21
 
 
22
#ifdef USE_CUSTOM_MEMCPY
 
23
# include "memcpy.h"
 
24
#else /* USE_CUSTOM_MEMCPY */
 
25
# define fast_memcpy memcpy
 
26
#endif /* USE_CUSTOM_MEMCPY */
 
27
 
23
28
 
24
29
fastwriter_t *fastwriter_init(const char *fs, fastwriter_flags_t flags) {
25
30
    fastwriter_t *ctx;