fix non-windows GGML_ALIGNED_REALLOC
This commit is contained in:
parent
12c4e5b50f
commit
a925e9304a
1 changed files with 1 additions and 1 deletions
2
ggml.c
2
ggml.c
|
@ -223,7 +223,7 @@ inline static void * ggml_aligned_realloc(void * ptr, size_t old_size, size_t si
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
#define GGML_ALIGNED_MALLOC(size) ggml_aligned_malloc(size)
|
#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)
|
#define GGML_ALIGNED_FREE(ptr) free(ptr)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue