# HG changeset patch # User Olaf Wintermann # Date 1709539046 -3600 # Node ID 93851c0babe408f0c23035b804f4d8f1d94bbe83 # Parent 4f02995ce44e8c5736feec95109d75dd9bbe74ed fix build in case CX_SZMUL_BUILTIN is undefined diff -r 4f02995ce44e -r 93851c0babe4 src/szmul.c --- a/src/szmul.c Mon Feb 26 21:07:23 2024 +0100 +++ b/src/szmul.c Mon Mar 04 08:57:26 2024 +0100 @@ -43,4 +43,4 @@ *result = 0; return 1; } -} \ No newline at end of file +} diff -r 4f02995ce44e -r 93851c0babe4 tests/test_utils.c --- a/tests/test_utils.c Mon Feb 26 21:07:23 2024 +0100 +++ b/tests/test_utils.c Mon Mar 04 08:57:26 2024 +0100 @@ -248,7 +248,9 @@ cx_test_register(suite, test_forn); cx_test_register(suite, test_swap_ptr); cx_test_register(suite, test_szmul); +#ifdef CX_SZMUL_BUILTIN cx_test_register(suite, test_szmul_impl); +#endif return suite; }