From 7ac2008888c1373cc59d948c9aa97a14e8001f77 Mon Sep 17 00:00:00 2001 From: Mehmet Suslu Date: Thu, 31 Mar 2022 18:37:32 +0300 Subject: [PATCH] fix missing preprocessor macro for SSSE3 HAVE_SSSE3 preprocessor macro is not transferred to the fastutf8 library by CMake configuration. Thus, the function rspamd_fast_utf8_validate_sse41 is missing in rspamd-server shared library. --- contrib/fastutf8/platform_config.h.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/fastutf8/platform_config.h.in b/contrib/fastutf8/platform_config.h.in index 301234e1e0..621d99e2cc 100644 --- a/contrib/fastutf8/platform_config.h.in +++ b/contrib/fastutf8/platform_config.h.in @@ -7,6 +7,7 @@ #ifdef __x86_64__ #cmakedefine HAVE_AVX2 1 #cmakedefine HAVE_SSE41 1 +#cmakedefine HAVE_SSSE3 1 #endif -#endif \ No newline at end of file +#endif -- 2.47.3