Author: j16sdiz Date: 2009-03-31 07:15:39 +0000 (Tue, 31 Mar 2009) New Revision: 26273
Modified: trunk/contrib/fec/src/csrc/fec.c Log: Error when no GF_BITS defined Modified: trunk/contrib/fec/src/csrc/fec.c =================================================================== --- trunk/contrib/fec/src/csrc/fec.c 2009-03-31 07:15:28 UTC (rev 26272) +++ trunk/contrib/fec/src/csrc/fec.c 2009-03-31 07:15:39 UTC (rev 26273) @@ -32,6 +32,7 @@ * OF SUCH DAMAGE. */ + /* * The following parameter defines how many bits are used for * field elements. The code supports any value from 2 to 16 @@ -39,7 +40,7 @@ * This is the only parameter you may want to change. */ #ifndef GF_BITS -#define GF_BITS 8 /* code over GF(2**GF_BITS) - change to suit */ +#error GF_BITS NOT DEFINED! #endif #include <stdio.h> _______________________________________________ cvs mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
