ucx/utils.c

branch
newapi
changeset 187
24ce2c326d85
parent 174
0358f1d9c506
--- a/ucx/utils.c	Sun Oct 01 09:23:47 2023 +0200
+++ b/ucx/utils.c	Sun Oct 01 12:08:09 2023 +0200
@@ -28,8 +28,13 @@
 
 #include "cx/utils.h"
 
+#ifndef CX_STREAM_BCOPY_BUF_SIZE
 #define CX_STREAM_BCOPY_BUF_SIZE 8192
+#endif
+
+#ifndef CX_STREAM_COPY_BUF_SIZE
 #define CX_STREAM_COPY_BUF_SIZE 1024
+#endif
 
 size_t cx_stream_bncopy(
         void *src,

mercurial