Am Mittwoch 08 Oktober 2008 schrieb Frank Mehnert: > Hi, > > I'm searching for a replacement of > > do {} while (0) > > in a macro definition. > > My problem is the following: > > #define BREAK_ON_ERROR(i) \ > if (1) \ > { \ > if (i < 0) \ > break; \ > } \ > else do \ > { \ > } while (0) \ > What about: do { if (i < 0) { break; } } while (0) Christoph