Skip to content

Commit 7f00b53

Browse files
committed
Add _GNU_SOURCE definition for Windows compatibility
1 parent 2eee071 commit 7f00b53

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sqlite-vector.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
#include "sqlite-vector.h"
1010
#include "distance-cpu.h"
1111

12+
#ifdef _WIN32
13+
#define _GNU_SOURCE
14+
#endif
15+
1216
#include <math.h>
1317
#include <stdio.h>
1418
#include <ctype.h>

0 commit comments

Comments
 (0)