mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-16 23:39:18 +00:00
Fixed _MSC_VER define
This commit is contained in:
parent
240a5eaf9c
commit
3f01476487
8
ggml.c
8
ggml.c
@ -2,16 +2,14 @@
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#include <malloc.h>
|
||||
#include <windows.h>
|
||||
#include <sys/timeb.h>
|
||||
#define _USE_MATH_DEFINES
|
||||
#else
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#include <assert.h>
|
||||
#include <time.h>
|
||||
#if defined(_MSC_VER)
|
||||
#include <windows.h>
|
||||
#include <sys/timeb.h>
|
||||
#define _USE_MATH_DEFINES
|
||||
#endif
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user