From b6788c4541021fa600430360a90d9042e686c099 Mon Sep 17 00:00:00 2001 From: gogoex <110195520+gogoex@users.noreply.github.com> Date: Wed, 16 Oct 2024 12:57:48 +0900 Subject: [PATCH] avoid using a function in the locale-dependent funciton list --- src/blsct/external_api/blsct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blsct/external_api/blsct.h b/src/blsct/external_api/blsct.h index e23ad3bcb06d4..3dd39c19bc7db 100644 --- a/src/blsct/external_api/blsct.h +++ b/src/blsct/external_api/blsct.h @@ -103,7 +103,7 @@ #define MALLOC_BYTES(T, name, n) T* name = (T*) malloc(n) #define RETURN_IF_MEM_ALLOC_FAILED(name) \ if (name == nullptr) { \ - fprintf(stderr, "Failed to allocate memory\n"); \ + fputs("Failed to allocate memory\n", stderr); \ return nullptr; \ } #define RETURN_ERR_IF_MEM_ALLOC_FAILED(name) \