mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
Added DISABLE_DISPATCH option [skip ci]
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef BITUTILS_H
|
||||
#define BITUTILS_H
|
||||
|
||||
#ifndef DISABLE_DISPATCH
|
||||
/* Only enable for more recent compilers */
|
||||
/* TODO Move to better place */
|
||||
#if defined(__x86_64__) && defined(__GNUC__) && __GNUC__ >= 8
|
||||
@@ -10,6 +11,7 @@
|
||||
#elif defined(_M_AMD64) && defined(_MSC_VER) && _MSC_VER >= 1920
|
||||
#define USE_DISPATCH
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* target_clones requires glibc */
|
||||
#if defined(USE_DISPATCH) && defined(__gnu_linux__)
|
||||
|
||||
Reference in New Issue
Block a user