ggml-cpu-impl.h: do not redefine bool on POWER9 (#12856)

error: unknown type name '_Bool'
This commit is contained in:
Piotr Kubaj 2025-04-09 23:00:34 +00:00 committed by GitHub
parent 2391506ace
commit 31f7803bc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -323,8 +323,6 @@ inline static int32x4_t ggml_vdotq_s32(int32x4_t acc, int8x16_t a, int8x16_t b)
#else
#ifdef __POWER9_VECTOR__
#include <altivec.h>
#undef bool
#define bool _Bool
#else
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <intrin.h>