Skip to content

Commit

Permalink
fix Visual Studio 17.10 internal compiler error on redefinition stati…
Browse files Browse the repository at this point in the history
…c_assert
  • Loading branch information
HungMingWu committed May 29, 2024
1 parent b864b50 commit cdda282
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ggml-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ typedef sycl::half2 ggml_half2;

#if defined(GGML_COMMON_DECL)

#include <assert.h>

#ifndef __cplusplus
#ifndef static_assert
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201100L)
Expand Down

0 comments on commit cdda282

Please sign in to comment.