1234567
#define ERROR_RECURSION(n) \do { if (n) \ fprintf (stderr, "Too many recursions (" #n ")\n"); \ exit(0); \while (0)if(rec > MAX_RECURSIONS) ERROR_RECURSION(MAX_RECURSIONS);