Skip to content

Commit cdda282

Browse files
committed
fix Visual Studio 17.10 internal compiler error on redefinition static_assert
1 parent b864b50 commit cdda282

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ggml-common.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ typedef sycl::half2 ggml_half2;
5252

5353
#if defined(GGML_COMMON_DECL)
5454

55+
#include <assert.h>
56+
5557
#ifndef __cplusplus
5658
#ifndef static_assert
5759
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201100L)

0 commit comments

Comments
 (0)