ucx/utils.c

changeset 776
96555c0ed875
parent 747
efbd59642577
--- a/ucx/utils.c	Sun Jul 02 13:23:51 2023 +0200
+++ b/ucx/utils.c	Mon Jul 10 18:40:37 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