# HG changeset patch # User Markus Bröker # Date 1282141020 -7200 # Node ID d6bce20b455ea8e43d7eb78eeaee3f837b9dd02b # Parent 0b5befeb361e844a3301218184f22849af5299f6 asm/decimal.c: provide a default wordsize diff --git a/asm/decimal.c b/asm/decimal.c --- a/asm/decimal.c +++ b/asm/decimal.c @@ -8,6 +8,10 @@ #include #include +#ifndef __WORDSIZE +#define __WORDSIZE 32 +#endif + #define MAXBITS __WORDSIZE #define MAXVALUE ULONG_MAX @@ -105,7 +109,7 @@ } printf ("\n"); - if (binaer) + if (binaer != NULL) free (binaer); } return EXIT_SUCCESS;