Skip to content

Commit

Permalink
avoid using a function in the locale-dependent funciton list
Browse files Browse the repository at this point in the history
  • Loading branch information
gogoex committed Oct 16, 2024
1 parent 3ab0054 commit b6788c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blsct/external_api/blsct.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit b6788c4

Please sign in to comment.