commit 7ac2008: fix missing preprocessor macro for SSSE3

GitHub noreply at github.com
Sun May 8 11:07:03 UTC 2022


Author: Mehmet Suslu
Date: 2022-03-31 18:37:32 +0300
URL: https://github.com/rspamd/rspamd/commit/7ac2008888c1373cc59d948c9aa97a14e8001f77

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 301234e1e..621d99e2c 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


More information about the Commits mailing list