mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-29 17:21:16 +08:00
Fixed error with cross-compiling / universal binaries on Mac - #544 [skip ci]
This commit is contained in:
@@ -23,6 +23,11 @@
|
||||
#define USE_TARGET_CLONES
|
||||
#endif
|
||||
|
||||
/* Needed for cross-compiling / universal binaries on Mac */
|
||||
#if defined(USE_DISPATCH) && !defined(HAVE__GET_CPUID) && defined(__APPLE_CC__)
|
||||
#define HAVE__GET_CPUID
|
||||
#endif
|
||||
|
||||
#if defined(USE_DISPATCH)
|
||||
#define HALFVEC_DISPATCH
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user