forked from extern/whisper.cpp
ggml : make compatible with c99 (#262)
This commit is contained in:
parent
a613f16aec
commit
9955fa4ed7
5
ggml.c
5
ggml.c
@ -14,6 +14,11 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
// if C99 - static_assert is nop
|
||||||
|
#ifndef static_assert
|
||||||
|
#define static_assert(cond, msg)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined _MSC_VER || defined(__MINGW32__)
|
#if defined _MSC_VER || defined(__MINGW32__)
|
||||||
|
|
||||||
#if !defined(__MINGW32__)
|
#if !defined(__MINGW32__)
|
||||||
|
Loading…
Reference in New Issue
Block a user