Fixed compilation error with FreeBSD ARM

This commit is contained in:
Andrew Kane
2024-06-30 11:23:39 -07:00
parent d1694a93af
commit 8772c8de68
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
## 0.7.3 (unreleased)
- Fixed compilation error with FreeBSD ARM
- Fixed compilation warning with MSVC and Postgres 16
## 0.7.2 (2024-06-11)

View File

@@ -38,7 +38,7 @@
/* F16C has better performance than _Float16 (on x86-64) */
#if defined(__F16C__)
#define F16C_SUPPORT
#elif defined(__FLT16_MAX__) && !defined(HALFVEC_DISPATCH)
#elif defined(__FLT16_MAX__) && !defined(HALFVEC_DISPATCH) && !defined(__FreeBSD__)
#define FLT16_SUPPORT
#endif