pgvector.git / summary / log / commit / refs

commit    4e6aa2f0c1cd59c60264f74368169ccc5342c3c2
Author:   Andrew Kane <andrew@ankane.org>
Date:     Mon Apr 22 22:43:07 2024 +0000

    Added DISABLE_DISPATCH option [skip ci]


src/bitutils.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bitutils.h b/src/bitutils.h index 1efebd53..620c2519 100644 --- a/src/bitutils.h +++ b/src/bitutils.h @@ -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__) [parent: 40e86251c3a6]