diff --git a/CHANGELOG.md b/CHANGELOG.md index 95f0548..f7d288f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.4 (unreleased) + +- Fixed multiple definition error with GCC 10 + ## 0.1.3 (2021-05-06) - Added Dockerfile diff --git a/src/ivfflat.c b/src/ivfflat.c index 93e1d30..4192cfb 100644 --- a/src/ivfflat.c +++ b/src/ivfflat.c @@ -6,6 +6,7 @@ #include "utils/guc.h" #include "utils/selfuncs.h" +int ivfflat_probes; static relopt_kind ivfflat_relopt_kind; /* diff --git a/src/ivfflat.h b/src/ivfflat.h index 8d28b81..1adab84 100644 --- a/src/ivfflat.h +++ b/src/ivfflat.h @@ -38,7 +38,7 @@ #endif /* Variables */ -int ivfflat_probes; +extern int ivfflat_probes; typedef struct VectorArrayData {