Skip to content

Commit 31f7803

Browse files
authored
ggml-cpu-impl.h: do not redefine bool on POWER9 (#12856)
error: unknown type name '_Bool'
1 parent 2391506 commit 31f7803

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ggml/src/ggml-cpu/ggml-cpu-impl.h

-2
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,6 @@ inline static int32x4_t ggml_vdotq_s32(int32x4_t acc, int8x16_t a, int8x16_t b)
323323
#else
324324
#ifdef __POWER9_VECTOR__
325325
#include <altivec.h>
326-
#undef bool
327-
#define bool _Bool
328326
#else
329327
#if defined(_MSC_VER) || defined(__MINGW32__)
330328
#include <intrin.h>

0 commit comments

Comments
 (0)