diff options
author | Takayuki Matsuoka <t-mat@users.noreply.github.com> | 2022-07-31 21:12:45 (GMT) |
---|---|---|
committer | Takayuki Matsuoka <t-mat@users.noreply.github.com> | 2022-07-31 21:12:45 (GMT) |
commit | 9173ca37d793a6cbb1e5a8657d8e6ebafc53230c (patch) | |
tree | 8d4c1f584adf987deb182192d0bdc6d1e09a7dac | |
parent | fa889cf6daa12e2ce9e7ac42f1eaccf2466b4c7c (diff) | |
download | lz4-9173ca37d793a6cbb1e5a8657d8e6ebafc53230c.zip lz4-9173ca37d793a6cbb1e5a8657d8e6ebafc53230c.tar.gz lz4-9173ca37d793a6cbb1e5a8657d8e6ebafc53230c.tar.bz2 |
Fix : Internal memory allocation macro names
-rw-r--r-- | lib/lz4.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -189,12 +189,9 @@ * Memory routines **************************************/ #if defined(LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION) -# undef LZ4_ALLOC -# undef LZ4_ALLOC_AND_ZERO -# undef LZ4_FREEMEM -# define LZ4_ALLOC(x) lz4_error_memory_allocation_is_disabled -# define LZ4_ALLOC_AND_ZERO(x) lz4_error_memory_allocation_is_disabled -# define LZ4_FREEMEM(x) lz4_error_memory_allocation_is_disabled +# define ALLOC(s) lz4_error_memory_allocation_is_disabled +# define ALLOC_AND_ZERO(s) lz4_error_memory_allocation_is_disabled +# define FREEMEM(p) lz4_error_memory_allocation_is_disabled #elif defined(LZ4_USER_MEMORY_FUNCTIONS) /* memory management functions can be customized by user project. * Below functions must exist somewhere in the Project |