fix non-windows GGML_ALIGNED_REALLOC

This commit is contained in:
xaedes 2023-08-28 19:16:27 +02:00
parent 12c4e5b50f
commit a925e9304a
No known key found for this signature in database
GPG key ID: 30030EDD817EA2B1

2
ggml.c
View file

@ -223,7 +223,7 @@ inline static void * ggml_aligned_realloc(void * ptr, size_t old_size, size_t si
return result;
}
#define GGML_ALIGNED_MALLOC(size) ggml_aligned_malloc(size)
#define GGML_ALIGNED_REALLOC(ptr, old_size, size) ggml_aligned_realloc(size)
#define GGML_ALIGNED_REALLOC(ptr, old_size, size) ggml_aligned_realloc(ptr, old_size, size)
#define GGML_ALIGNED_FREE(ptr) free(ptr)
#endif