Skip to content

Commit 00c40aa

Browse files
committed
ggml : remove _GNU_SOURCE
ref : ggml-org/whisper.cpp#1027
1 parent ce905c7 commit 00c40aa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

scripts/sync-whisper.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ cp -rpv ../whisper.cpp/ggml-cuda.h src/ggml-cuda.h
55
cp -rpv ../whisper.cpp/ggml-cuda.cu src/ggml-cuda.cu
66
cp -rpv ../whisper.cpp/ggml-opencl.h src/ggml-opencl.h
77
cp -rpv ../whisper.cpp/ggml-opencl.cpp src/ggml-opencl.cpp
8+
cp -rpv ../whisper.cpp/ggml-metal.h src/ggml-metal.h
9+
cp -rpv ../whisper.cpp/ggml-metal.m src/ggml-metal.m
10+
cp -rpv ../whisper.cpp/ggml-metal.metal src/ggml-metal.metal
811
cp -rpv ../whisper.cpp/ggml.h include/ggml/ggml.h
912
cp -rpv ../whisper.cpp/examples/common.h examples/common.h
1013
cp -rpv ../whisper.cpp/examples/common.cpp examples/common.cpp

src/ggml.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#define _GNU_SOURCE // Defines CLOCK_MONOTONIC on Linux
21
#define _CRT_SECURE_NO_DEPRECATE // Disables ridiculous "unsafe" warnigns on Windows
32

43
#include "ggml.h"

0 commit comments

Comments
 (0)