Mon, 04 Mar 2024 08:57:26 +0100
fix build in case CX_SZMUL_BUILTIN is undefined
src/szmul.c | file | annotate | diff | comparison | revisions | |
tests/test_utils.c | file | annotate | diff | comparison | revisions |
1.1 --- a/src/szmul.c Mon Feb 26 21:07:23 2024 +0100 1.2 +++ b/src/szmul.c Mon Mar 04 08:57:26 2024 +0100 1.3 @@ -43,4 +43,4 @@ 1.4 *result = 0; 1.5 return 1; 1.6 } 1.7 -} 1.8 \ No newline at end of file 1.9 +}
2.1 --- a/tests/test_utils.c Mon Feb 26 21:07:23 2024 +0100 2.2 +++ b/tests/test_utils.c Mon Mar 04 08:57:26 2024 +0100 2.3 @@ -248,7 +248,9 @@ 2.4 cx_test_register(suite, test_forn); 2.5 cx_test_register(suite, test_swap_ptr); 2.6 cx_test_register(suite, test_szmul); 2.7 +#ifdef CX_SZMUL_BUILTIN 2.8 cx_test_register(suite, test_szmul_impl); 2.9 +#endif 2.10 2.11 return suite; 2.12 }