mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-04 08:18:46 +00:00
Fixed undefined symbol error with GCC 8 - fixes #538
This commit is contained in:
1 parent
24c8a2ff40
commit
19cbbfdd69
2 files changed
+5
-1
No files matched your search
@@ -1,3 +1,7 @@
|
||||
## 0.7.1 (unreleased)
|
||||
|
||||
- Fixed `undefined symbol` error with GCC 8
|
||||
|
||||
## 0.7.0 (2024-04-29)
|
||||
|
||||
- Added `halfvec` type
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
/* TODO Move to better place */
|
||||
#ifndef DISABLE_DISPATCH
|
||||
/* Only enable for more recent compilers to keep build process simple */
|
||||
#if defined(__x86_64__) && defined(__GNUC__) && __GNUC__ >= 8
|
||||
#if defined(__x86_64__) && defined(__GNUC__) && __GNUC__ >= 9
|
||||
#define USE_DISPATCH
|
||||
#elif defined(__x86_64__) && defined(__clang_major__) && __clang_major__ >= 7
|
||||
#define USE_DISPATCH
|
||||
|
||||
Reference in new issue
Block a user