ggml : make compatible with c99 (#262)

This commit is contained in:
Georgi Gerganov 2022-12-13 23:07:49 +02:00
parent a613f16aec
commit 9955fa4ed7
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

5
ggml.c
View File

@ -14,6 +14,11 @@
#include <stdint.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(__MINGW32__)