ucx/szmul.c

changeset 852
83fdf679df99
parent 816
839fefbdedc7
equal deleted inserted replaced
850:bbe2925eb590 852:83fdf679df99
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE. 26 * POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "cx/common.h"
30
31 #ifndef CX_SZMUL_BUILTIN
29 int cx_szmul_impl( 32 int cx_szmul_impl(
30 size_t a, 33 size_t a,
31 size_t b, 34 size_t b,
32 size_t *result 35 size_t *result
33 ) { 36 ) {
42 } else { 45 } else {
43 *result = 0; 46 *result = 0;
44 return 1; 47 return 1;
45 } 48 }
46 } 49 }
50 #endif // CX_SZMUL_BUILTIN

mercurial